Search Results for

    Show / Hide Table of Contents

    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

    https://stackoverflow.com/a/53688608/419294

    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
    Remarks

    https://stackoverflow.com/questions/57211630/how-do-you-save-an-image-as-a-gif-with-transparency-in-c

    In This Article
    Back to top (c) Meriworks 2002-2022