Batch-convert colorspace in multiple PNG files

New Here ,
Feb 07, 2021 Feb 07, 2021

Copy link to clipboard

Copied

Hi, everyone

 

I'm currently using Photoshop CC 2015.

 

I need to convert the colorspace of several hundred PNG files from ProPhoto RGB to sRGB.

 

I tried that creating an Action and then using this Action in a Batch Process (images below).

 

user0D44_4-1612731539970.pnguser0D44_3-1612731461685.png

The Action works in the following steps: Open File-> Convert to Profile (destination colorspace correctly assigned, image bellow)-> Save in a different folder-> Close File

user0D44_0-1612730972698.png

 

The conversion works fine in the file that is produced during the Action recording process, but every file created by the Batch keeps the original ProPhoto RGB colorspace instead of the sRGB.

 

Any ideas of what I might be doing wrong?

 

Best regards

TOPICS
Actions and scripting, How to, Problem or error

Views

76

Likes

translate

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 Professional ,
Feb 07, 2021 Feb 07, 2021

Copy link to clipboard

Copied

Save As PNG has a curious bug: It doesn't embed the sRGB profile. All other profiles embed correctly, but not sRGB.

 

To make matters worse: instead of showing up as <untagged>, which it should be because it is, instead it takes on your working space and assigns that.

 

In short, Save As PNG is an utter mess, and I don't go near it. Luckily, Save For Web and Export both do it correctly, so always use one of those when working with PNGs.

 

But there's one more problem. Export doesn't record in actions. So you can't use that. That leaves Save For Web. Record an action using Save For Web, and make sure to check both "convert to sRGB" and "embed color profile". The latter is unchecked by default. Batch that action.

Likes

translate

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 Professional ,
Feb 07, 2021 Feb 07, 2021

Copy link to clipboard

Copied

Likes

translate

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
New Here ,
Feb 07, 2021 Feb 07, 2021

Copy link to clipboard

Copied

Somehow I fixed my problem just checking the Override "Open" Commands checkbox!

 

user0D44_0-1612748619108.png

 

Likes

translate

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