Table of Contents

Enum JpegDecoderResizeMode

Namespace
SixLabors.ImageSharp.Formats.Jpeg
Assembly
SixLabors.ImageSharp.dll

Provides enumeration for resize modes taken during decoding. Applicable only when TargetSize has a value.

public enum JpegDecoderResizeMode

Fields

Combined = 0

Both IdctOnly and ScaleOnly.

IdctOnly = 1

IDCT-only to nearest block scale. Similar in output to Box.

ScaleOnly = 2

Opt-out the IDCT part and only Resize. Can be useful in case of quality concerns.