06-11-2011 12:50 PM - edited 06-11-2011 12:50 PM
I am wondering if anyone knows how the PlayBook pictures app is creating thumbnails of images for such a smooth scrolling?
My ap creates thumbnails of all images and I am trying to create thumbnail of the pictures (100x100) and it works fine for smaller size images but for images the are big (bigger than 1.5MB), it slows down a lot while resizing and if there are too many of these big files, it actually crashes the app.
I am using an Image object and resizing the image by doing image.setSize(100,100) on load. It does resize but its too slow. Is there a better way? I have also tried getting the bitmap data and resizing it that way but its even slower.
I am resizing just to show the picture as a thumbnail.
Any input is appreciated as this is the main feature of my app.
06-12-2011 09:04 AM
06-12-2011 12:58 PM
This is in a tilelist so when the tile list is loaded, the picture rendered for all the tiles in the view are loaded at once and so all the images are loaded at once. How might I make the process one by one?
06-12-2011 08:35 PM