What image format is fastest for BlackBerry?

Posted by Ed Marty on Stack Overflow See other posts from Stack Overflow or by Ed Marty
Published on 2010-03-25T17:11:18Z Indexed on 2010/03/25 17:13 UTC
Read the original article Hit count: 418

I'm trying to load some images using Bitmap.getBitmapResource(), but it takes about 2 or 3 seconds per image to load. I'm testing on the Storm, specifically. The odd thing is, when I install OS 5.0, the loading goes in a snap, no delay at all.

Should I be looking at the format used? Or where the files are stored? I've tried both 24- and 8-bit PNGs, with transparency. The files are stored in a subdirectory in the COD, so getBitmapResource is passed a path, like "images/img1.png" instead of just "img1.png".

Is any of this making things slower?

© Stack Overflow or respective owner

Related posts about blackberry

Related posts about image