Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Batch reduce images to 1mb

New Here ,
Mar 30, 2009 Mar 30, 2009
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
TOPICS
Actions and scripting
2.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Mar 31, 2009 Mar 31, 2009
As far as I know the resulting file-size with both lossy and loss-free image-compressions depends on the content, so aiming a jpgs 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?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 31, 2009 Mar 31, 2009
> 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 31, 2009 Mar 31, 2009
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! 😉 ]
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 31, 2009 Mar 31, 2009
LATEST
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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines