Table of Contents

Class JpegWriteDefines

Namespace
ImageMagick.Formats
Assembly
Magick.NET-Q8-AnyCPU.dll

Class for defines that are used when a ImageMagick.MagickFormat.Jpeg image is written.

public sealed class JpegWriteDefines : IWriteDefines, IDefines
Inheritance
JpegWriteDefines
Implements
IWriteDefines
IDefines
Inherited Members

Constructors

JpegWriteDefines()

public JpegWriteDefines()

Properties

ArithmeticCoding

Gets or sets a value indicating whether arithmetic coding is enabled or disabled (jpeg:arithmetic-coding).

public bool? ArithmeticCoding { get; set; }

Property Value

bool?

DctMethod

Gets or sets the dtc method that will be used (jpeg:dct-method).

public JpegDctMethod? DctMethod { get; set; }

Property Value

JpegDctMethod?

Defines

Gets the defines that should be set as a define on an image.

public IEnumerable<IDefine> Defines { get; }

Property Value

IEnumerable<IDefine>

Extent

Gets or sets the compression quality that does not exceed the specified extent in kilobytes (jpeg:extent).

public int? Extent { get; set; }

Property Value

int?

Format

Gets the format where the defines are for.

public MagickFormat? Format { get; }

Property Value

MagickFormat

OptimizeCoding

Gets or sets a value indicating whether optimize coding is enabled or disabled (jpeg:optimize-coding).

public bool? OptimizeCoding { get; set; }

Property Value

bool?

QuantizationTables

Gets or sets the file name that contains custom quantization tables (jpeg:q-table).

public string? QuantizationTables { get; set; }

Property Value

string

SamplingFactor

Gets or sets jpeg sampling factor (jpeg:sampling-factor).

public JpegSamplingFactor? SamplingFactor { get; set; }

Property Value

JpegSamplingFactor?