Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PNG issue #567

Closed
s1rius opened this issue Aug 22, 2015 · 6 comments
Closed

PNG issue #567

s1rius opened this issue Aug 22, 2015 · 6 comments

Comments

@s1rius
Copy link
Contributor

s1rius commented Aug 22, 2015

I get a TooManyBitmapsException when I load several PNG format images by use GridView on screen. After that, I can't display one of these images on a SimpleDraweeView full screen.
Use a Sumsung device make many screenshots and run the comparison sample, The exception can reproduce every time.
I upload a video about this on youtube.
I searched and saw all issues about this, but I have no idea to resolve it.
#213
#214
#256
#307
#308
#469
#483
#539
#556

@s1rius
Copy link
Contributor Author

s1rius commented Aug 22, 2015

Now, The only way is rolling back to UIL before application release :(

@plamenko
Copy link
Contributor

Do you specify ResizeOptions? If not, each of these images requires a bitmap of the screen size, even though they are 9 times smaller (I.e. your app is using 9x more memory on images than it should).

Without some more context it is hard to tell.

@tyronen
Copy link
Contributor

tyronen commented Aug 23, 2015

For PNGs you need to enable downsampling when specifying ResizeOptions.

@tyronen tyronen closed this as completed Aug 23, 2015
@s1rius
Copy link
Contributor Author

s1rius commented Aug 25, 2015

Awesome, thank you.

@xyczero
Copy link

xyczero commented Dec 3, 2015

That's Right,thank you @tyronen

@AllenVork
Copy link

i wanna load gifs in my gallery.But when i get the first frame of the gif as a bitmap, i don't know how to load it with fresco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants