Photoshop CC 2015 - Extract Assets / Export Layer color profile mismatch

  • 2
  • Problem
  • Updated 3 years ago
  • Solved
  • (Edited)
When exporting PNGs through "Extract Assets" (PS CC 2014) or "Export as" (PS CC 2015), Photoshop generates a PNG without the correct working color profile, and this is a BIG problem.

See image for reference.

Everyone in our team works with the sRGB color profile, but when using these export options, we get the wrong color. Always.

Layer exporting is a really handy tool, but color precision is priority. Please add color conversion option and fix it ASAP. Thanks!

Photo of Leandro Rossa

Leandro Rossa

  • 32 Posts
  • 0 Reply Likes
  • frustrated

Posted 4 years ago

  • 2
Photo of Joan Lafferty

Joan Lafferty, Employee

  • 14 Posts
  • 0 Reply Likes
In this first release of Export, we did not embed the color profiles in the exported images. We are working to resolve this and allow you to export to sRGB in an update.

Joan Lafferty
Product Manager
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 15888 Posts
  • 2464 Reply Likes
Official Response
Per Joan's comment, Export As in Photoshop CC 2015.1 now exports as sRGB: https://helpx.adobe.com/photoshop/usi...
Photo of witkacy

witkacy

  • 11 Posts
  • 4 Reply Likes
Hello,

While it’s true that you can Convert to sRGB from within Export As dialog, there is no option to _embed_ the ICC colour profiles in exported PNGs (neither in 8 nor 24). Makes me have to use Save For Web. Please fix. Thanks.

Regards
m.
Photo of witkacy

witkacy

  • 11 Posts
  • 4 Reply Likes
Hello,
While it’s true that in the newest Photoshop 2015.5 there is now Embed Color Profile checkbox available in Export As... dialog, unfortunately, it does not work for PNG 8-bit (it works correctly for PNG 24-bit).
We will get there one day :-)

Regards
m.
Photo of witkacy

witkacy

  • 11 Posts
  • 4 Reply Likes
Hello,
While it’s true that I try to be witty, but it doesn’t always work, even more so when I’m wrong.
I’m still at a loss as to how Export As... works when it comes to embedding colour profiles, though.
Also, I should most probably open a new topic... but this seemed the most relevant.

Some observations:
1. New doc, sRGB embedded, transparency:
a) Export As... PNG24, Embed profile checked, Convert to sRGB unchecked: ICC profile embedded, recognised on Open
b) Export As... PNG8, Embed profile, Convert to sRGB unchecked: sRGB chunk present, NOT recognised on Open (Untagged)

2. New doc, AdobeRGB embedded, transparency:
a) Export As... PNG24, Embed profile checked, Convert to sRGB unchecked: no profile embedded, no sRGB chunk present, read as Untagged
b) Export As... PNG8, Embed profile, Convert to sRGB unchecked: sRGB chunk present (!), NOT recognised on Open (Untagged)

Only 1a) seems correct. Photoshop seems not to be able to correctly recognise sRGB chunks in PNG images (opens them as Untagged). It’s not clear why sRGB is written as 2,6KB iCCP chunk for PNG24s, but as an sRGB chunk for PNG8. I can’t seem to be able to embed any profile other than sRGB... SaveForWeb wins again.

Latest Photoshop on latest Win10.

Regards
m.
Photo of witkacy

witkacy

  • 11 Posts
  • 4 Reply Likes
2a fixed in 2015.5.1.

1b, 2b - still broken...
Photo of witkacy

witkacy

  • 11 Posts
  • 4 Reply Likes
This has interesting implications for CMYK (non-RGB) images as well as images not in sRGB space. Since PNGs can only be RGB, Export As... uses Color Setting’s Working Space RGB space and Rendering Intent if Convert to sRGB is not checked (UI would be more helpful if that was indicated).

Pngquanted PNG8 (with Smaller file (8-bit) option checked) completely ignore Embed profile checkbox AND always tag exported PNG with sRGB chunk (and gAMA), even if the file is in some other RGB space because RGB working space is set to something else than sRGB!

Also, Photoshop still doesn’t recognise sRGB PNG chunks it has written itself when opening files.

But the most baffling thing is: PNG8 exported from the CMYK file is more than twice the size of PNG8 exported from the same file first converted to RGB (via Mode>RGB)! And the Embed profile, Convert to profile and Color Settings options do not matter (all other things the same)! Here I surrender...
Photo of witkacy

witkacy

  • 11 Posts
  • 4 Reply Likes
[EDIT] Please disregard the last paragraph from the previous post. Sorry, I must have made a mistake - I cannot reproduce: Use dither seems to be temporarily switched off when the colour conversions are requested via the Export interface (good idea!).

OK. That last issue is another example of not-at-all obvious influence of one’s Color Settings over the Export’s output: Use Dither (8-bit/channel images). Ideally, apart from that influence being better documented and indicated in the UI, this and other options may need their counterparts in the Export UI (and Generator’s config), I think.
(Edited)