-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
prevent creation of _UIAnimatedImage #71
Comments
This is definitely the wrong place to be asking, but your issue is that SDWebImage is automatically creating the animated UIImage from the remote data. |
Yeah I just figured that out. Apologies for posting that here. |
welp. looks like there's no official way to disable GIF creation. Didn't really want to fork. |
The fine people over at SDWebImage are looking into replacing that bit with FLAnimatedImage: SDWebImage/SDWebImage#945 Here the relevant thread on FLAnimatedImage discussing the strategy: I think it's mostly on me to bang the |
DFImageManager already features |
I know that this is probably unrelated to FLAnimatedImage, but I thought you might be able to help me out. I'm downloading gifs from the network, and they have a large file size, so I just want them to be plain old UIImage that take up minimum RAM.
What's happening though is that I'm getting
_UIAnimatedImage
in the imageview which are presumably being animated by the system (I'm using an FLAnimatedImageView). This baloons up memory usage(>500MB), causing my app to crash.Do you have any pointers as to how to disable either the creation of
_UIAnimatedImage
or stopping the animation? Any methods I can set a break point on to track this? Thanks. (FWIW, SDWebImage is responsible for creating UIImages out of network data.)Happy to provide more info.
The text was updated successfully, but these errors were encountered: