Photoshop: How to use a non-white background as the basis for semitransparent layers in PNG8 export?

PNG8 is a great compressed format when we don’t really need semi-transparency. Often an asset will have semi-transparency data that we’re happy to lose in the export process, however Photoshop defaults a white background behind the semi-transparent pixels. This causes problems if the png is not going to be displayed on a white page:

Transparent zombie Shows up as: Crappy zombie

Where it would be convenient to export something like:

Slightly better

Is there a way to base the computed color of the semi-transparent pixels off a value other than white?

Answer

Found the answer to this about 20 seconds after posting: just change the matte color:
Change the Matte Color

Attribution
Source : Link , Question Author : RSG , Answer Author : RSG

Leave a Comment