Prevent .jpeg resizing from renaming extension to .jpg

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

Moderators: helmut, XnTriq, xnview

Post Reply
Scott Cadillac

Prevent .jpeg resizing from renaming extension to .jpg

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

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

Post 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
Pierre.
Guest

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

Post by Guest »

xnview wrote: I'll add an option
Thank you, I appreciate that. Great little tool, by the way.
Post Reply