<multimedia:image>.getPixelSize

Returns the pixel size of the texture image format

 

<multimedia:image>.getPixelSize()

 

Remarks

The pixel size refers to the number of bytes per pixel. For example, RGB textures use 3 bytes per pixel, and RGBA textures use 4 bytes per pixel.

Return Value

Bytes per pixel