ImageFormatImage Method |
Note: This API is now obsolete.
Namespace: Accord.Imaging
[ObsoleteAttribute("Use Clone(Bitmap, PixelFormat) method instead and specify desired pixel format")] public static void FormatImage( ref Bitmap image )
Formats the image to one of the formats, which are supported by the AForge.Imaging library. The image is left untouched in the case if it is already of Format24bppRgb or Format32bppRgb or Format32bppArgb or Format48bppRgb or Format64bppArgb format or it is grayscale, otherwise the image is converted to Format24bppRgb format.
Note |
---|
The method is deprecated and Clone(Bitmap, PixelFormat) method should be used instead with specifying desired pixel format. |