I previously asked "How to Batch Export All Directory Contents to PNG-8, Overwriting Existing Files?". The answer I received appears to be technically correct. But I forgot to mention one serious criteria -- my image has partial transparency.
Hence if my test image is:
File
> Export
> Quick Export to png-8
or Export
(picking png-8
) produces a beautifully visually equivalent file:
Where as Export
> Layers to Files
and Export
> Save For Web (Legacy)
produce the image seen on the right (image on left is original):
My issue is that most of my images I'm trying to export via Batch
Actions
rely on partial transparency. But the only two export to png-8
options I can find that seem to support partial transparency aren't currently supported by actions.
I get the Save for Web
one, as per the hard edges motivation Adobe elaborates upon here. I don't understand as well why the layer export is also doing matteing on partial transparency, with no hint of this in the dialog (maybe a bug?) and w/ no way to even pick the matte color, for that matter (the automatically selected matteing is #ffffff
in the color space of some of the content).
Are there any other ways to export to png-8
, w/ partial transparency OTHER than Export as
and Quick Export to png-8
?
Quick Export to PNG
andExport as..
and ticking the "smaller file (8-bit)" option both save as a PNG24 image. My version of Photoshop CC2017 has noQuick Export to PNG-8
item.Index
mode, as it should be.