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

image processing 100+ images to be below 600KB but above 500KB

Explorer ,
Jul 10, 2023 Jul 10, 2023

Copy link to clipboard

Copied

Is there away to creat an action or skript that will make all my images to below 600 KB but above 500KB? I am currently image processing the ones that are too large to image quility 11, then the ones that are still too large to image quality 10 then 9 then 8... until all are below the right size. I cannot just process all at say at image Quality 7 because then some would be too low. 

TOPICS
Actions and scripting

Views

188

Translate

Translate

Report

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 ,
Jul 10, 2023 Jul 10, 2023

Copy link to clipboard

Copied

Are you familiar with JavaScript and Photoshop’s DOM? 

Have you done a Forum search? Because the issue of degrading an image until it meets a size requirement has come up previously. 

Votes

Translate

Translate

Report

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 ,
Jul 10, 2023 Jul 10, 2023

Copy link to clipboard

Copied

Hi

 

I know some Javascript, What is Photoshop's DOM?  

 

Cheers

Votes

Translate

Translate

Report

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 ,
Jul 10, 2023 Jul 10, 2023

Copy link to clipboard

Copied

Document Object Model; the more readable way to direct Photoshop in Scripting; Action Manager- aka AM-code is less readable but often performs faster. 

Votes

Translate

Translate

Report

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 ,
Jul 10, 2023 Jul 10, 2023

Copy link to clipboard

Copied

Just another way to look at this: Jpeg file size depends to a high degree on image content. Flat, smooth areas compress much more efficiently than busy high frequency detail.

 

The point is - it will all average out in the end. Let the small remain small and the big remain big. The detailed images might be where you need good quality.

 

These two are same pixel size and same quality level. The first is 47 kB. The second is 376 kB.

jpegsize_1B.jpg

jpegsize_2.jpg

Votes

Translate

Translate

Report

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 ,
Jul 10, 2023 Jul 10, 2023

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

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 ,
Jul 10, 2023 Jul 10, 2023

Copy link to clipboard

Copied

In Camera Raw (and in Lightroom), there is for saving (export) a target size with JPEG, that you can give. All files are below that target size, with the best quality possible.

Abambo_0-1689027697673.png

 


You can't set the “above” parameter because that one does not make sense here.

ABAMBO | Hard- and Software Engineer | Photographer

Votes

Translate

Translate

Report

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 ,
Jul 10, 2023 Jul 10, 2023

Copy link to clipboard

Copied

LATEST

@Abambo – thanks for the reminder of the ACR batch save option! Save for Web has such an option, but it can't be batched or scripted.

Votes

Translate

Translate

Report

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