I've been testing out NConvert as a solution to a project where rotating images is needed. It seems that on occasion the image temp file created is not completed as it remains in the .jp_ state. Are there any suggestions on how to look further into this or a known solution?
These are the arguments passed ...
<CFSET VARIABLES.arguments = "-out jpeg -jpegtrans rot90 -rotate 90 -overwrite" />
This is the Coldfusion execution ...
<CFEXECUTE NAME="#VARIABLES.imageConverter#" TIMEOUT="20" ARGUMENTS="#VARIABLES.arguments# #VARIABLES.imageSource#" VARIABLE="result"></CFEXECUTE>
UPDATE ...
changed arguments to "-out jpeg -jpegtrans rot90 -rotate 90 -overwrite -no_auto_ext" and it seems after about 50 or so rotation calls that this works but if anyone knows why when "-no_auto_ext" isn't used it randomly doesn't complete the update leaving files with the extension .jp_ .. I'd still like to know.
Incomplete processing ... file left as filename.jp_
Moderators: XnTriq, helmut, xnview
-
- Posts: 4
- Joined: Mon Feb 08, 2016 6:21 pm
-
- Moderator & Librarian
- Posts: 6387
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Incomplete processing ... file left as filename.jp_
Are any of those JPEGs write-protected, webagent?
-
- Posts: 4
- Joined: Mon Feb 08, 2016 6:21 pm
Re: Incomplete processing ... file left as filename.jp_
No write protection. The initial file name for example is "5045094165612.1.jpg" and when this fails to complete it will be "5045094165612.1.jp_". The file is actually rotated though. If I change the extension from "jp_" to "jpg" the image looks as I expect it to. For some reason though it retains the underscore on what seems to be random.
These are the commands I'm sending ... I added that last param thinking it would force no name change
"-out jpeg -jpegtrans rot90 -rotate 90 -overwrite -no_auto_ext"
Any suggestions?
These are the commands I'm sending ... I added that last param thinking it would force no name change
"-out jpeg -jpegtrans rot90 -rotate 90 -overwrite -no_auto_ext"
Any suggestions?
-
- Author of XnView
- Posts: 44922
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 4
- Joined: Mon Feb 08, 2016 6:21 pm
Re: Incomplete processing ... file left as filename.jp_
Where should I send the files to? I tried uploading them but they're over 2mb each. One is a rotated image with the underscore fixed and the other would be the same file with the underscore issue.
-
- Author of XnView
- Posts: 44922
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Incomplete processing ... file left as filename.jp_
on contact at xnview dot comwebagent wrote:Where should I send the files to? I tried uploading them but they're over 2mb each. One is a rotated image with the underscore fixed and the other would be the same file with the underscore issue.
Pierre.
-
- Posts: 4
- Joined: Mon Feb 08, 2016 6:21 pm
-
- Author of XnView
- Posts: 44922
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Incomplete processing ... file left as filename.jp_
thanks, i've tried in a console, but no filename.jp_ exists... Could you try in a command window?
Pierre.