[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Windows.JpegXROptions

Class JpegXROptions

Namespace
GrapeCity.Documents.Imaging.Windows
Assembly
GcDocs.Imaging.Windows.dll

Encoder options supported by the native JPEG XR codec.

public class JpegXROptions : BaseOptions
Inheritance
object
JpegXROptions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

JpegXROptions()

public JpegXROptions()

Properties

AlphaDataDiscard

Sets the amount of alpha frequency data to discard during a compressed domain transcode.

public byte? AlphaDataDiscard { get; set; }

Property Value

byte?

Remarks

The default value is None.

AlphaQuality

Sets the compression quality for the planar alpha channel image.

public byte? AlphaQuality { get; set; }

Property Value

byte?

Remarks

The default value is 1.

CompressedDomainTranscode

Enables or disables compressed domain transcoding.

public bool? CompressedDomainTranscode { get; set; }

Property Value

bool?

Remarks

The default value is true.

FrequencyOrder

Enables encoding in frequency order.

public bool? FrequencyOrder { get; set; }

Property Value

bool?

Remarks

The default value is true.

HorizontalTileSlices

Sets the number of horizontal tiles.

public ushort? HorizontalTileSlices { get; set; }

Property Value

ushort?

Remarks

The default value is (image width – 1) >> 8.

IgnoreOverlap

Specifies how the encoder handles tile boundaries during a compressed domain transcode.

public bool? IgnoreOverlap { get; set; }

Property Value

bool?

Remarks

The default value is false.

ImageDataDiscard

Sets the amount of image frequency data to discard during a compressed domain transcode.

public byte? ImageDataDiscard { get; set; }

Property Value

byte?

Remarks

The default value is 0.

ImageQuality

Sets the image quality.

public float? ImageQuality { get; set; }

Property Value

float?

Remarks

The default value is 0.9.

InterleavedAlpha

Specifies whether to encode interleaved alpha or planar alpha.

public bool? InterleavedAlpha { get; set; }

Property Value

bool?

Remarks

The default value is false.

Lossless

Enables losses compression.

public bool? Lossless { get; set; }

Property Value

bool?

Remarks

The default value is false.

Overlap

Sets the level of overlap filtering.

public byte? Overlap { get; set; }

Property Value

byte?

Remarks

The default value is 1.

ProgressiveMode

Enables or disables progressive encoding.

public bool? ProgressiveMode { get; set; }

Property Value

bool?

Remarks

The default value is false.

Quality

Sets the compression quality.

public byte? Quality { get; set; }

Property Value

byte?

Remarks

The default value is 1.

StreamOnly

Enables or disables stream-only mode.

public bool? StreamOnly { get; set; }

Property Value

bool?

Remarks

The default value is false.

Subsampling

Sets the chroma subsampling. This property applies only to RGB images.

public byte? Subsampling { get; set; }

Property Value

byte?

Remarks

The default value is 3 if ImageQuality > 0.8; otherwise 1.

TransformOptions

Specifies whether the image is rotated or flipped when decoded.

public WicTransformOptions? TransformOptions { get; set; }

Property Value

WicTransformOptions?

Remarks

The default value is Rotate0.

UseCodecOptions

Specifies whether to use the Quality, Overlap, and Subsampling properties instead of the generic ImageQuality property.

public bool? UseCodecOptions { get; set; }

Property Value

bool?

Remarks

The default value is false.

VerticalTileSlices

Sets the number of vertical tiles.

public ushort? VerticalTileSlices { get; set; }

Property Value

ushort?

Remarks

The default value is (image height – 1) >> 8.