Incomplete processing ... file left as filename.jp_

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

Moderators: XnTriq, xnview

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

Incomplete processing ... file left as filename.jp_

Post by webagent » Mon Feb 08, 2016 6:28 pm

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: 5543
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

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

Post by XnTriq » Mon Feb 08, 2016 9:15 pm

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 » Wed Feb 17, 2016 5:03 pm

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: 32728
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Thu Feb 18, 2016 8:39 am

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 » Thu Feb 18, 2016 2:29 pm

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: 32728
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Fri Feb 19, 2016 3:02 pm

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 » Fri Feb 19, 2016 3:39 pm

sent

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

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

Post by xnview » Mon Feb 22, 2016 9:10 am

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

Post Reply