|
This calculates the size of an unsigned char type buffer given the width, height, and phImageType format.
- Parameters:
-
| w | The width of the image data. |
| h | The height of the image data. |
| f | The phImageType format of the image data. |
- Returns:
- An unsigned integer containing the memory size required to store an image of
w x h of format f .
- Return values:
-
| 0 | There was an error in calculating the size or the size of the image would be zero. |
Definition at line 224 of file phImage.cpp. |