Skip to content

Using ARGB Quantized Palette: PNG 8BIT Doesn't Support Alpha #2

@mlaviexc

Description

@mlaviexc

M. Ansel,

For 32-bit ARGB, using your quantizer produces a palette, whose entries contain Alphas (4 ARGB bytes per panel entry).

The problem is that PNG 8-bit indexed images do not support Alpha in the palette. They only support specifying Transparent Color. Even Photoshop can't handle Alpha layer in 8-bit indexed PNG.

Is there a way to pass your code a 32-bit ARGB PNG, and for you to return an RGB-only palette, together with a transparent color?

TIA,
Lavie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions