Table of Contents

Enum GenericImageResizeQuality

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Interfaces.dll

Enumerates levels of quality for different resizing algorithms used by scaling and rescaling methods.

public enum GenericImageResizeQuality

Fields

Bicubic = 2

Highest quality but slowest execution time.

Bilinear = 1

Compromise between Nearest and Bicubic.

BoxAverage = 3

Use surrounding pixels to calculate an average that will be used for new pixels. This method is typically used when reducing the size of the image (meaning that both the new width and height will be smaller than the original size).

High = 4

Highest (but best) quality.

Nearest = 0

Simplest and fastest algorithm.

Normal = 0

Default image resizing algorithm. Default quality is low (but fast). Currently the same as Nearest.