05-11-2012 02:07 PM
What is the suggested way to resize a cascades Image object? I'm trying to display .jpg captured by the camera app on the BB10 Alpha device, but when I try to display them onscreen I get :
ERR: Image <path to image> texture size 1836x3264 exceeds GL implementation max 2048
In the C++ code, where I'm loading the image, I have a cascades Image instance, but I can't seem to find any way to access the pixels themselves, or any helper functions to reduce the resolution.
Any help would be greatly appriciated.
Solved! Go to Solution.
05-11-2012 04:05 PM