VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Jpeg Namespace / JpegFile Class / JpegFile Constructors / JpegFile Constructor(VintasoftImage,JpegEncoderSettings,IProgressController)
Syntax Exceptions Requirements SeeAlso
In This Topic
    JpegFile Constructor(VintasoftImage,JpegEncoderSettings,IProgressController)
    In This Topic
    Initializes a new instance of the JpegFile class.
    Syntax
    Exceptions
    ExceptionDescription
    Thrown if image or settings are null.
    Thrown if image size (width or height) is greater than 65535.
    Thrown if image.PixelFormat is not supported.
    Thrown if image cannot be saved as grayscale Jpeg or image colorspace is not supported or image channels format is not supported or image channel bit count is not supported or sampling factor count is insufficient or sampling factors contain a value out of range from 1 to 4 or sum of products of pairs of sampling factors exceeds 10 or quantization table count is insufficient or at least one of quantization tables is not specified or number of elements in a quantization table is not 64 or quantization tables contain elements out of range from 1 to 255 or quantization tables are not explicitly defined for certain colorspace.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also