Prevent .jpeg resizing from renaming extension to .jpg

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

Moderators: XnTriq, xnview

Post Reply
Scott Cadillac

Prevent .jpeg resizing from renaming extension to .jpg

Post by Scott Cadillac » Tue Feb 07, 2006 5:50 pm

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

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

Post by xnview » Tue Feb 07, 2006 7:57 pm

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 » Tue Feb 07, 2006 8:28 pm

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

Post Reply