PeachImage

PeachImage.Formats.Png.PngAlphaSplitInfo

PngAlphaSplitInfo.ColorData Property

A complete, independent zlib (RFC 1950) stream of the de-interleaved color samples (gray or RGB, per ColorIsRgb), framed exactly like AlphaData (a leading filter-type-None byte per row) — ready to embed as a PDF /FlateDecode color XObject stream with the matching /DecodeParms /Predictor 15 (/Colors 1 or 3 per ColorIsRgb). null when the source was a palette (indexed) image: in that case the color side needs no new data at all — pair the original IdatData and PaletteData with a PDF /Indexed color space as usual, and use only AlphaData from this result as the /SMask.

public byte[]? ColorData { get; init; }

Property Value

System.Byte[]