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

Method SetMaxHeight

platform/android/ndk/AndroidBaseImageDecoder.cpp:192–195  ·  view source on GitHub ↗

Sets the maximum pixel height that this decoder will set the targeted image data to. If the decoded image is larger than this maximum, then the image will be downscaled or downsampled when the decoded pixels are copied to the targeted image data object. If you intend to decode images to be used as OpenGL textures, then you are expected to set this to OpenGL's max texture size. @param val

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

AndroidAssetBitmapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected