Skip to main content
Participant
March 24, 2023

P: Batch saving PNGs no longer keep color profile embedded

  • March 24, 2023
  • 36 replies
  • 5221 views

Photoshop versions past 24.0.1, including the latest 24.3, are breaking my Actions and Scripts that batch save PNGs (Save as a copy) that are supposed to keep the color profiles embedded. Each time I run an action or script, the first PNG keeps the color profile embedded, but all subsequent PNGs save out "untagged".

 

One weird exception: I have one Action which saves out a PSD and PNG from each file with color profiles embedded. The original action saved out the PSDs first and then the PNGs. This was the first time I noticed the bug. I tried switching the order in the action to save out the PNGs first, then the PSDs, and the bug no longer occurred. Not sure why, but I wanted to pass that along.

 

All other scripts which save out (not export) PNGs have this bug. We cannot update until this gets fixed.

This topic has been closed for replies.

36 replies

Participant
June 17, 2024
I tried doing what Chad Rolfs suggested, but my "Save" actionstep STILl says "without ICC profiles".  Horrible, being up agaist a readline of delivering thousands of files that would need to be batch processed out with profiles.
 
quote

Photoshop versions past 24.0.1, including the latest 24.3, are breaking my Actions and Scripts that batch save PNGs (Save as a copy) that are supposed to keep the color profiles embedded. Each time I run an action or script, the first PNG keeps the color profile embedded, but all subsequent PNGs save out "untagged".

 

One weird exception: I have one Action which saves out a PSD and PNG from each file with color profiles embedded. The original action saved out the PSDs first and then the PNGs. This was the first time I noticed the bug. I tried switching the order in the action to save out the PNGs first, then the PSDs, and the bug no longer occurred. Not sure why, but I wanted to pass that along.

 

All other scripts which save out (not export) PNGs have this bug. We cannot update until this gets fixed.


By @brandona86632823


We have shipped several fixes recently.  Here is what you need to do in order to take advantage of them:

1. For batching via Actions/scripts, you can use a special gestalt that forces color profile output.  Put the following string into a text file called PSUserConfig.txt (and put it in the Adobe Photoshop 2024 Settings folder): BatchForcePNGColorProfile 1

Then relaunch Photoshop, go to Help > System Info... and confirm you see
PSUserConfig entries:
- U BatchForcePNGColorProfile 1

 

2. You may need to re-record older Actions, specifically the Save PNG step. To determine whether this applies your Action, open the Save step and look at the bottom for "With ICC Profiles". If you don't see that, you need to record the step again to include that option.

quote

Photoshop versions past 24.0.1, including the latest 24.3, are breaking my Actions and Scripts that batch save PNGs (Save as a copy) that are supposed to keep the color profiles embedded. Each time I run an action or script, the first PNG keeps the color profile embedded, but all subsequent PNGs save out "untagged".

 

One weird exception: I have one Action which saves out a PSD and PNG from each file with color profiles embedded. The original action saved out the PSDs first and then the PNGs. This was the first time I noticed the bug. I tried switching the order in the action to save out the PNGs first, then the PSDs, and the bug no longer occurred. Not sure why, but I wanted to pass that along.

 

All other scripts which save out (not export) PNGs have this bug. We cannot update until this gets fixed.


By @brandona86632823

 

Chad Rolfs
Adobe Employee
Adobe Employee
May 15, 2024

We have shipped several fixes recently.  Here is what you need to do in order to take advantage of them:

1. For batching via Actions/scripts, you can use a special gestalt that forces color profile output.  Put the following string into a text file called PSUserConfig.txt (and put it in the Adobe Photoshop 2024 Settings folder): BatchForcePNGColorProfile 1

Then relaunch Photoshop, go to Help > System Info... and confirm you see
PSUserConfig entries:
- U BatchForcePNGColorProfile 1

 

2. You may need to re-record older Actions, specifically the Save PNG step. To determine whether this applies your Action, open the Save step and look at the bottom for "With ICC Profiles". If you don't see that, you need to record the step again to include that option.

Known Participant
March 6, 2024

Now, when using a batch (UXP scripting), even the first file doesn't contains the embeded profile anymore. Indeed, it has been fixed : No embeded profile for any PNG file now.
Accordingly to the UXP doc, you can embed a profile for a JPEG output, but nothing for PNG.

I assume it's a "normal" behavior for now. But it would be nice to be able to embed profile in PNG files : it was possible some time ago.

 

UXP script (PSJS to launch directly) : Save_AS_PNG.psjs
It will ask to select two folders (source / destination) and will save all image file to JPEG and PNG.

 

Some month ago, the first PNG converted was embeding the colorprofile, not anymore.

CShubert
Community Manager
Community Manager
March 5, 2024

Hi all,

This issue was fixed but it is possible for other workflows that there still might be another bug... please share your workflow and steps to reproduce the bug using the current Ps beta release: Adobe Photoshop Version: 25.6.0 20240304.m.2534 50644ba arm64 so we can reproduce and verify.  Any screenshots or videos will help the team to get right to the issue and are very helpful.

 

Thanks,

Cory - Photoshop Product Manager

djPixelPusher
Participant
February 7, 2024

This has not yet been fixed. BATCH saving PNGs typically causes the first file in the batch to have a color profile, but all subsequent files open in Photoshop as Untagged.

Participant
February 7, 2024

This has not yet been fixed as claimed. The profile does not get attached with BATCH png actions. First file sticks, subsequent files in batch are saved as Untagged.
Strangely, Bridge info says they contain the assigned color profile, but when opening them, they are Untagged. This is with the Preserve Enbedded Profiles to be sure PS isn't forcing it.

Inspiring
January 25, 2024

On version 25.4, this issue is still not fixed. I'm also not seeing it in the latest "Known Issues" list, so I'm hoping you guys haven't marked this as "fixed", because it is not.

selondon
Community Expert
Community Expert
January 10, 2024

I'd agree also that this still needs fixing.

Participant
January 10, 2024

Same here, it seems the bug has not been fixed

Inspiring
December 15, 2023

@Mohit Goyal In addition, I see your "fixed issues" notes and it says that it has fixed the issue of "Color Profile not embedded in Save as PNG action", but it's not running an action on one file; this issue occurs ONLY when you run a BATCH on multiple files. The first PNG saved out during a batch will have the color profile embedded, but each subsequent PNG in the BATCH set will have a missing profile (untagged).