Search Results for

    Show / Hide Table of Contents

    Class JpegDecoderOptions

    JPEG decoder options.

    Inheritance
    System.Object
    JpegDecoderOptions
    Implements
    IPlanarDecoderOptions
    IDecoderOptions
    System.IEquatable<JpegDecoderOptions>
    Namespace: PhotoSauce.MagicScaler
    Assembly: PhotoSauce.MagicScaler.dll
    Syntax
    public sealed class JpegDecoderOptions : ValueType, IPlanarDecoderOptions, IDecoderOptions

    Constructors

    JpegDecoderOptions(Boolean)

    JPEG decoder options.

    Declaration
    public JpegDecoderOptions(bool AllowPlanar)
    Parameters
    Type Name Description
    System.Boolean AllowPlanar

    True to allow the decoder to expose the raw planar form of the image, false to force conversion to RGB/BGR on decode.

    Properties

    AllowPlanar

    True to allow the decoder to expose the raw planar form of the image, false to force conversion to RGB/BGR on decode.

    Declaration
    public bool AllowPlanar { get; set; }
    Property Value
    Type Description
    System.Boolean

    Default

    Default JPEG decoder options.

    Declaration
    public static JpegDecoderOptions Default { get; }
    Property Value
    Type Description
    JpegDecoderOptions

    Methods

    Deconstruct(out Boolean)

    Declaration
    public void Deconstruct(out bool AllowPlanar)
    Parameters
    Type Name Description
    System.Boolean AllowPlanar

    Equals(JpegDecoderOptions)

    Declaration
    public bool Equals(JpegDecoderOptions other)
    Parameters
    Type Name Description
    JpegDecoderOptions other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    Operators

    Equality(JpegDecoderOptions, JpegDecoderOptions)

    Declaration
    public static bool operator ==(JpegDecoderOptions left, JpegDecoderOptions right)
    Parameters
    Type Name Description
    JpegDecoderOptions left
    JpegDecoderOptions right
    Returns
    Type Description
    System.Boolean

    Inequality(JpegDecoderOptions, JpegDecoderOptions)

    Declaration
    public static bool operator !=(JpegDecoderOptions left, JpegDecoderOptions right)
    Parameters
    Type Name Description
    JpegDecoderOptions left
    JpegDecoderOptions right
    Returns
    Type Description
    System.Boolean

    Implements

    IPlanarDecoderOptions
    IDecoderOptions
    System.IEquatable<>
    In This Article
    Back to top Copyright © 2022 Clinton Ingram
    Generated with DocFX