static bool IsFormatCompressed(ImageFormat format);
IsFormatCompressed determines if the format of the image is in compressed format or not.
Parameters |
Description |
ImageFormat format |
The format of the image, See ImageFormat. |
A Boolean value of true if the image format is one of the compressed format and false otherwise.