ImageExtensions Class

KGy SOFT Drawing Libraries Help
Contains extension methods for the Image type.
Inheritance Hierarchy

SystemObject
  KGySoft.DrawingImageExtensions

Namespace:  KGySoft.Drawing
Assembly:  KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 4.7.0
Syntax

public static class ImageExtensions

The ImageExtensions type exposes the following members.

Methods

  NameDescription
Public methodStatic memberConvertPixelFormat
Converts the image to another one with the desired PixelFormat.
See the Remarks section for details.
Public methodStatic memberEqualsByContent
Compares an image to another one by content and returns whether they are equal. Images of different size or pixel format are considered as difference.
Public methodStatic memberGetBitsPerPixel
Gets the bits per pixel (bpp) value of the image.
Public methodStatic memberSaveAsGif(Image, Stream, Boolean)
Saves the specified image as a GIF image.
See the Remarks section for the differences compared to the Image.Save(Stream,ImageFormat) method.
Public methodStatic memberSaveAsGif(Image, Stream, Color)
Saves the specified image as a GIF image.
See the Remarks section for the differences compared to the Image.Save(Stream,ImageFormat) method.
Public methodStatic memberSaveAsMultipageTiff
Saves the provided images as a multi-page TIFF into the specified Stream. When Image instances in images contain already multiple pages, only the current page is taken.
Public methodStatic memberToGrayscale
Converts an image to a grayscale one.
Public methodStatic memberToIcon
Creates an Icon from an Image.
Top
See Also

Reference