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.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
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