Class BitmapExtensions
Extension methods for bitmaps
Inheritance
System.Object
BitmapExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Core.Conversion
Assembly: ImageVault.Core.dll
Syntax
public static class BitmapExtensions
Methods
IsTransparent(Bitmap)
Checks if a bitmap contains transparent pixels
Declaration
public static bool IsTransparent(this Bitmap bitmap)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Bitmap | bitmap |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
MakeTransparentGif(Bitmap, Color)
Fixes the transparency of a gif bitmap
Declaration
public static Bitmap MakeTransparentGif(this Bitmap bitmap, Color color)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Bitmap | bitmap | |
System.Drawing.Color | color |
Returns
Type | Description |
---|---|
System.Drawing.Bitmap |