🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.photoshop.scripting
5 messages
5 total messages Started by David Delahay Mon, 30 Mar 2009 14:39
Batch reduce images to 1mb
#39
Author: David Delahay
Date: Mon, 30 Mar 2009 14:39
4 lines
899 bytes
Is it possible to run a batch process to reduce a large number of image files to 1mb?
The images are all currently completely different size so file size could range from 3mb to 90mb. All images will be jpeg format so a file conversion doesn't need to be processed.

Many thanks
Re: Batch reduce images to 1mb
#45
Author: christoph_pfaffenbichler
Date: Tue, 31 Mar 2009 14:48
2 lines
931 bytes
As far as I know the resulting file-size with both lossy and loss-free image-compressions depends on the content, so aiming a jpgᅵs file-size at 1MB might be a rather vague intention and consequently a bit difficult to Script.
Though maybe someone else has actual experience with such an operation?
Re: Batch reduce images to 1mb
#48
Author: xbytor
Date: Tue, 31 Mar 2009 16:29
9 lines
1206 bytes
> Though maybe someone else has actual experience with such an operation?

The only solution (that has been arrived at more than once) is to start off with 
a jpeg quality of 10 or 12, save the image and check the file size. If it's too 
big, reduce the quality and try again. Using Export For Web instead of Save As 
will typically result in a better quality-compression trade off, but there is no 
known way to specify the desired image size ahead of time.

-X
Re: Batch reduce images to 1mb
#49
Author: try67
Date: Tue, 31 Mar 2009 16:30
3 lines
829 bytes
You can probably do it by saving the file at the highest quality, checking the size, and then reduce the quality by 1, save again, etc.

[Edit: Damn you, xbytor! ;-) ]
Re: Batch reduce images to 1mb
#54
Author: george_dingwall
Date: Wed, 01 Apr 2009 07:26
3 lines
790 bytes
You might consider the commercial program called JpegSizer. This has an option to specifiy a file size when resizing, You can find a free trial of it here.

 <http://www.tangotools.com/jpegsizer/download.htm>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads