PeachImage

PeachImage.DecoderOptions

DecoderOptions.MaxPixels Property

The most pixels (width x height) an image may declare, checked from the header before any pixel memory is allocated: a larger image throws ImageTooLargeException. When null (the default) only each format’s own built-in ceiling applies. This is in addition to, never instead of, those built-in limits.

public System.Nullable<long> MaxPixels { get; init; }

Property Value

System.Nullable<System.Int64>