MCPcopy Create free account
hub / github.com/coronalabs/corona / GetPixelSizeInBytes

Method GetPixelSizeInBytes

platform/android/ndk/AndroidImageData.cpp:222–225  ·  view source on GitHub ↗

Gets the number of bytes that one pixel uses in this image. @return Returns 1 if this image is using an 8-bit grayscale pixel format. Returns 4 if this image is using a 32-bit RGBA pixel format.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected