06-22-2014 09:55 PM
I didn't understand your reply...
06-22-2014 09:58 PM
Sorry, my bad!
Try with another image file, lighter and .png! Only curiosity!
06-22-2014 10:18 PM
Yes, it works fine with another file. (and as mentioned, even with the problematic file, it shows up fine in the QML preview)
06-22-2014 10:21 PM
But another files are show in the device?
06-22-2014 10:36 PM
Yes. If you're willing to spend this much effort replying on the forum, it might be a good use of your time to actually download the JPG file I linked to above, create an ImageView, and deploy it to your device to see if you are able to reproduce the issue.
06-22-2014 10:58 PM
Apparently the problem is that the image exceeds 2048px that are manageable for OpenGL 2.0, you must resize the image before it is displayed in the ImageView.
06-23-2014 07:41 AM
Fascinating! How did you figure that out?!
It's also interesting because as I was pondering what could possibly be the problem, the size of the image came to mind, because I noticed it was larger than my other photos that were working.
It seems somewhat insane that the console wouldn't show some very noticeable output to let you know this was the case.
Thanks so much!
06-23-2014 07:46 AM
I haven't tried the suggested solution yet, but the point about 2048 being the max doesn't seem to be quite correct, since I have lots of photos that are 3264x1836, and they can load fine. (I think that's the size of photos that the BB10 camera takes)
Anyway, I'll do some experimentation and see if I can figure out what the max dimensions are. (and if that is in fact the solution, but I suspect you're on to something)
06-23-2014 04:47 PM
I think that 2048px restriction is for width...
06-24-2014 08:12 PM
By my testing, images appear to fail to display if their width is much more than 4050 pixels, OR their height is much more than 4050 pixels.