|
#define phIMAGE_SIZE_IN_BYTES |
( |
s, |
|
|
w, |
|
|
h, |
|
|
f |
|
) |
|
|
|
Value: This calculates the number of bytes for an image of a given width, height and format. The value is stored in s when it's computed. This macro is useful in many cases including figuring out what the ZLib decompressed size of a piece of memory will be given the format flag with the Zlib special bit set.
- Parameters:
-
[out] | s | The size of the memory that can store an image of w x h of format f . |
[in] | w | The width of the image. |
[in] | h | The height of the image. |
[in] | f | The format of the image. |
Definition at line 568 of file ImageDefinitions.h. |
|