PeachImage
PeachImage.Image
Image.HasAlpha Property
Whether this image’s source actually carries an alpha channel — not whether its format could ever
have one (see CanDecodeTransparency for that), and computed from the
source’s own header/chunk metadata rather than by scanning pixel data. Reflects the source, not the
final PixelFormat: converting an opaque source to a target format with an alpha
channel (or an alpha-bearing source down to one without) via TargetPixelFormat
doesn’t change this value. Always false for images not produced by a codec’s
Decode path (e.g. Create(int, int, PixelFormat)).
public bool HasAlpha { get; }