Class JpegDecoderOptions
Inheritance
System.Object
JpegDecoderOptions
Assembly: PhotoSauce.MagicScaler.dll
Syntax
public sealed class JpegDecoderOptions : ValueType, IPlanarDecoderOptions, IDecoderOptions
Constructors
JpegDecoderOptions(Boolean)
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
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
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
Returns
Type |
Description |
System.Boolean |
|
Inequality(JpegDecoderOptions, JpegDecoderOptions)
Declaration
public static bool operator !=(JpegDecoderOptions left, JpegDecoderOptions right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<>