Click or drag to resize

BitmapExtensions Class

Defines extension functions related to bitmap image manipulation.
Inheritance Hierarchy
SystemObject
  GSF.DrawingBitmapExtensions

Namespace: GSF.Drawing
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public static class BitmapExtensions
View Source

The BitmapExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodCode exampleConvertTo(Image, ImageFormat) Converts a Bitmap image to the specified ImageFormat.
Public Extension MethodCode exampleConvertTo(Image, ImageFormat, Boolean) Converts a Bitmap image to the specified ImageFormat.
Public Extension MethodCode exampleCrop(Image, Rectangle) Returns a cropped Bitmap image of the original.
Public Extension MethodCode exampleCrop(Image, Rectangle, Boolean) Returns a cropped Bitmap image of the original.
Public methodStatic memberFromPixelData Converts from an array of pixel data to a Bitmap image.
Public Extension MethodCode exampleResize(Image, Size) Returns a resized Bitmap image of the original.
Public Extension MethodCode exampleResize(Image, Size, Boolean) Returns a resized Bitmap image of the original.
Public Extension MethodToPixelData Converts from a bitmap image to an array of pixel data.
Top
See Also