fresco icon indicating copy to clipboard operation
fresco copied to clipboard

Fresco can't resize png format image and I can't load lots of png images from sdcard in time

Open KrystalJake1989 opened this issue 11 years ago • 3 comments

Several days ago,I ask a question which is "Always cannot show the images when loading lots of bitmaps on screen". I think the root reason why I can't load lots of bitmaps from sdcard is that if images are png format,fresco doesn't support resize,then each image is so big in memory and BitmapCounter class has a limit on how much memory the bitmaps can occupy in total.So If I loads a lot of png image in time,then it causes TooManyBitmapsException,then most of image can not be displayed.Is correct of my analysis?

KrystalJake1989 avatar May 25 '15 04:05 KrystalJake1989

Yeah that makes sense.

IanChilds avatar May 25 '15 07:05 IanChilds

@IanChilds How should I load lots of png images from sdcards by fresco?

KrystalJake1989 avatar May 25 '15 07:05 KrystalJake1989

+1 The UI thread blocked when load many png photos from sdcard on fresco 0.6.0.

s1rius avatar Jul 24 '15 10:07 s1rius