Incomplete processing ... file left as filename.jp_

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, helmut, xnview

webagent
Posts: 4
Joined: Mon Feb 08, 2016 6:21 pm

Incomplete processing ... file left as filename.jp_

Post by webagent »

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.
User avatar
XnTriq
Moderator & Librarian
Posts: 6387
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Incomplete processing ... file left as filename.jp_

Post by XnTriq »

Are any of those JPEGs write-protected, webagent?
webagent
Posts: 4
Joined: Mon Feb 08, 2016 6:21 pm

Re: Incomplete processing ... file left as filename.jp_

Post by webagent »

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?
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Incomplete processing ... file left as filename.jp_

Post by xnview »

could you send me a jpeg file used?
Pierre.
webagent
Posts: 4
Joined: Mon Feb 08, 2016 6:21 pm

Re: Incomplete processing ... file left as filename.jp_

Post by webagent »

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.
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Incomplete processing ... file left as filename.jp_

Post by xnview »

webagent 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.
on contact at xnview dot com
Pierre.
webagent
Posts: 4
Joined: Mon Feb 08, 2016 6:21 pm

Re: Incomplete processing ... file left as filename.jp_

Post by webagent »

sent
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Incomplete processing ... file left as filename.jp_

Post by xnview »

thanks, i've tried in a console, but no filename.jp_ exists... Could you try in a command window?
Pierre.