Table of Contents

Class JpegReadDefines

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

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

public sealed class JpegReadDefines : IReadDefines, IDefines
Inheritance
JpegReadDefines
Implements
IReadDefines
IDefines
Inherited Members

Constructors

JpegReadDefines()

public JpegReadDefines()

Properties

BlockSmoothing

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

public bool? BlockSmoothing { get; set; }

Property Value

bool?

Colors

Gets or sets the desired number of colors (jpeg:colors).

public int? Colors { get; set; }

Property Value

int?

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>

FancyUpsampling

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

public bool? FancyUpsampling { get; set; }

Property Value

bool?

Format

Gets the format where the defines are for.

public MagickFormat? Format { get; }

Property Value

MagickFormat

Size

Gets or sets the size the scale the image to (jpeg:size). The output image won't be exactly the specified size. More information can be found here: http://jpegclub.org/djpeg/.

public IMagickGeometry? Size { get; set; }

Property Value

IMagickGeometry

SkipProfiles

Gets or sets the profile(s) that should be skipped when the image is read (profile:skip).

public JpegProfileTypes? SkipProfiles { get; set; }

Property Value

JpegProfileTypes?