Gorgon
Show / Hide Table of Contents

Enum ImageFilter

Filter to be applied to an image that's been stretched or shrunk.

Namespace: Gorgon.Graphics.Imaging
Assembly: Gorgon.Graphics.Imaging.dll
Syntax
public enum ImageFilter

Fields

Name Description
Cubic

Destination pixel values are computed as a weighted average of the nearest sixteen pixels in a 4x4 grid.

Fant

Destination pixel values are computed as a weighted average of the all the pixels that map to the new pixel.

Linear

The output pixel values are computed as a weighted average of the nearest four pixels in a 2x2 grid.

Point

The output pixel is assigned the value of the pixel that the point falls within. No other pixels are considered.

Extension Methods

GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author