Page 1 of 1

Prevent .jpeg resizing from renaming extension to .jpg

Posted: Tue Feb 07, 2006 5:50 pm
by Scott Cadillac
Hello,

I'm working on a legacy system that uses nconvert.exe to resize some images for thumbnails. It does gif and jpg resizing great, no problems.

But now if I allow resizing an image with a *.jpeg extension, it does the resizing - BUT renames the extension of the finished image file with *.jpg

How can I prevent this? This of course breaks our image filenames. The following are the current set of parameters for the resizing job:

nconvert.exe -out jpeg -ratio -q 80 -dpi res_72 -resize 60 60 "c:\InetPub\Websiteinfo\ImageUploads\Thumbs\test.jpeg"

The finished file is renamed to "test.jpg" - how can I prevent this?

I've looked through the list of parameters from the sticky linked post - but it seems to be lacking any useful documentation. Is there a better place to look for more detailed docs?

Thank you.

Re: Prevent .jpeg resizing from renaming extension to .jpg

Posted: Tue Feb 07, 2006 7:57 pm
by xnview
Scott Cadillac wrote:Hello,

I'm working on a legacy system that uses nconvert.exe to resize some images for thumbnails. It does gif and jpg resizing great, no problems.

But now if I allow resizing an image with a *.jpeg extension, it does the resizing - BUT renames the extension of the finished image file with *.jpg

How can I prevent this? This of course breaks our image filenames. The following are the current set of parameters for the resizing job:

nconvert.exe -out jpeg -ratio -q 80 -dpi res_72 -resize 60 60 "c:\InetPub\Websiteinfo\ImageUploads\Thumbs\test.jpeg"

The finished file is renamed to "test.jpg" - how can I prevent this?

I've looked through the list of parameters from the sticky linked post - but it seems to be lacking any useful documentation. Is there a better place to look for more detailed docs?

Thank you.
I'll add an option

Re: Prevent .jpeg resizing from renaming extension to .jpg

Posted: Tue Feb 07, 2006 8:28 pm
by Guest
xnview wrote: I'll add an option
Thank you, I appreciate that. Great little tool, by the way.