getBitsPerPixel
Use this function to retrieve the number of bits per pixel of an ImageFormat.
Return
the number of bits per pixel of the given format or -1 if the format doesn't exist or is not supported.
Parameters
format
Use this function to retrieve the number of bits per pixel of an ImageFormat.
the number of bits per pixel of the given format or -1 if the format doesn't exist or is not supported.