PeachImage

PeachImage

ImageTooLargeException Class

Thrown when an image would exceed a limit the caller set in DecoderOptions (MaxPixels or MaxExpansionRatio), before the memory for it is allocated or as soon as the limit is crossed.

public sealed class ImageTooLargeException : PeachImage.ImageFormatException

Inheritance System.Object → System.Exception → ImageFormatException → ImageTooLargeException

Constructors  
ImageTooLargeException(string) Initializes a new instance of ImageTooLargeException with the given message.
ImageTooLargeException(string, string) Initializes a new instance of ImageTooLargeException with the given message and format name.