- Code: Select all
// format image
if ( !AForge.Imaging.Image.IsGrayscale( image ) && ( image.PixelFormat != PixelFormat.Format24bppRgb ) )
{
Bitmap temp = AForge.Imaging.Image.Clone( image, PixelFormat.Format24bppRgb );
image.Dispose( );
image = temp;
}
But after reloading this image , this conversion is not implemented.
So when I open a 32bppRGB image,and the statusBar will not display some information of pixels.