Resize AND target file size in one batch conversion?

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Kurt8
Posts: 3
Joined: Thu Mar 13, 2008 2:18 pm

Resize AND target file size in one batch conversion?

Post by Kurt8 »

Hello,

I am trying to do a batch conversion of about 100 images for a website. They ALL need to be exactly 375px wide and not larger than 25kb each. I have been able to set the 375px conversion, but I have not found a way to set a target file size of 25kb. The only way I have been able to control the file size is by moving the jpeg quality slider which is still a "blind" way of doing it. Is there a better/easier way for me to get the desired width and file size in one batch conversion?

Thanks in advance!

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

Re: Resize AND target file size in one batch conversion?

Post by xnview »

Kurt8 wrote:Hello,

I am trying to do a batch conversion of about 100 images for a website. They ALL need to be exactly 375px wide and not larger than 25kb each. I have been able to set the 375px conversion, but I have not found a way to set a target file size of 25kg. The only way I have been able to control the file size is by moving the jpeg quality slider which is still a "blind" way of doing it. Is there a better/easier way for me to get the desired width and file size in one batch conversion?
Currently there is no way to control the maximum file size
Pierre.
Kurt8
Posts: 3
Joined: Thu Mar 13, 2008 2:18 pm

Post by Kurt8 »

Thanks for letting me know. Does anyone know of an app that would do this? I could make the width changes using a batch resize in Xnview and then run the images through "something else" to get ALL file sizes around 25kb. Seems to me that there must be something out there that could do this?

Thanks.

Kurt
User avatar
helmut
Moderator
Posts: 8671
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

When using File > Export you can see a preview and the expected file size. Export works for a single file, only, but perhaps you can check a number of files using export and thus find a appropriate quality level which you can use and apply on all files using Batch conversion. Just an idea...
Kurt8
Posts: 3
Joined: Thu Mar 13, 2008 2:18 pm

Post by Kurt8 »

Thanks for the input. I will try that.

Kurt