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

Method DecodeFromFile

platform/android/ndk/AndroidBaseImageDecoder.cpp:209–225  ·  view source on GitHub ↗

Decodes the given image file and copies its data to the targeted image data object assigned to this decoder via the SetTarget() function. @param filePath The name and path of the image file to decode. Cannot be NULL or empty. @return Returns the result of the image decoding operation. If the result object's HasSucceeded() function returns true, then this decoder has successfully loaded the im

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

AndroidAssetBitmapMethod · 0.45
GetBitsMethod · 0.45
OnDecodeFromFileMethod · 0.45

Calls 1

Rtt_StringIsEmptyFunction · 0.85

Tested by

no test coverage detected