Table of Contents

Namespace SixLabors.ImageSharp

Classes

Configuration

Provides configuration which allows altering default behaviour or extending the library.

GeometryUtilities

Utility class for common geometric functions.

GraphicOptionsDefaultsExtensions

Adds extensions that allow the processing of images to the Image<TPixel> type.

GraphicsOptions

Options for influencing the drawing functions.

Image

Encapsulates an image, which consists of the pixel data for a graphics image and its attributes. For the non-generic Image type, the pixel type is only known at runtime. Image is always implemented by a pixel-specific Image<TPixel> instance.

ImageExtensions

Extension methods for the Image type.

ImageFormatException

The exception that is thrown when the library tries to load an image, which has format or content that is invalid or unsupported by ImageSharp.

ImageFrame

Represents a pixel-agnostic image frame containing all pixel data and ImageFrameMetadata. In case of animated formats like gif, it contains the single frame in a animation. In all other cases it is the only frame of the image.

ImageFrameCollection

Encapsulates a pixel-agnostic collection of ImageFrame instances that make up an Image.

ImageFrameCollectionExtensions

Extension methods for ImageFrameCollection<TPixel>.

ImageFrameCollection<TPixel>

Encapsulates a pixel-specific collection of ImageFrame<TPixel> instances that make up an Image<TPixel>.

ImageFrame<TPixel>

Represents a pixel-specific image frame containing all pixel data and ImageFrameMetadata. In case of animated formats like gif, it contains the single frame in a animation. In all other cases it is the only frame of the image.

ImageInfo

Contains information about the image including dimensions, pixel type information and additional metadata

ImageProcessingException

The exception that is thrown when an error occurs when applying a process to an image.

Image<TPixel>

Encapsulates an image, which consists of the pixel data for a graphics image and its attributes. For generic Image<TPixel>-s the pixel type is known at compile time.

IndexedImageFrame<TPixel>

A pixel-specific image frame where each pixel buffer value represents an index in a color palette.

InvalidImageContentException

The exception that is thrown when the library tries to load an image which contains invalid content.

Matrix3x2Extensions

Extension methods for the Matrix3x2 struct.

MetadataExtensions

Extension methods for the ImageMetadata type.

UnknownImageFormatException

The exception that is thrown when the library tries to load an image which has an unknown format.

Structs

Color

Represents a color value that is convertible to any IPixel<TSelf> type.

ColorMatrix

A structure encapsulating a 5x4 matrix used for transforming the color and alpha components of an image.

DenseMatrix<T>

Represents a dense matrix with arbitrary elements. Components that are adjacent in a column of the matrix are adjacent in the storage array. The components are said to be stored in column major order.

Number

Represents an integral number.

PixelAccessor<TPixel>

Provides efficient access the pixel buffers of an Image<TPixel>.

Point

Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane.

PointF

Represents an ordered pair of single precision floating point x- and y-coordinates that defines a point in a two-dimensional plane.

Rational

Represents a number that can be expressed as a fraction.

Rectangle

Stores a set of four integers that represent the location and size of a rectangle.

RectangleF

Stores a set of four single precision floating points that represent the location and size of a rectangle.

SignedRational

Represents a number that can be expressed as a fraction.

Size

Stores an ordered pair of integers, which specify a height and width.

SizeF

Stores an ordered pair of single precision floating points, which specify a height and width.

Interfaces

IDeepCloneable

An interface for objects that can be cloned. This creates a deep copy of the object.

IDeepCloneable<T>

A generic interface for a deeply cloneable type.

Enums

ByteOrder

The byte order of the data stream.

ReadOrigin

Specifies the position in a stream to use for reading.

Delegates

PixelAccessorAction<TPixel>

A delegate to be executed on a PixelAccessor<TPixel>.

PixelAccessorAction<TPixel1, TPixel2>

A delegate to be executed on two instances of PixelAccessor<TPixel>.

PixelAccessorAction<TPixel1, TPixel2, TPixel3>

A delegate to be executed on three instances of PixelAccessor<TPixel>.