AnimatedGIFImageSerialization alternatives and similar libraries
Based on the "GIF" category.
Alternatively, view AnimatedGIFImageSerialization alternatives based on common mentions on social networks and blogs.
Performant animated GIF engine for iOS
7.9 1.7 L5 AnimatedGIFImageSerialization VS SwiftGif[UNMAINTAINED] 🌠 A small UIImage extension with gif support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of AnimatedGIFImageSerialization or a related project?
This library is no longer maintained. In iOS 13+ and macOS 10.15+, use
AnimatedGIFImageSerialization decodes an
following the API conventions of Foundation's
UIImage initializers can't decode animated images from GIF files.
This library uses swizzling to provide this functionality for you.
To opt out of this behavior,
ANIMATED_GIF_NO_UIIMAGE_INITIALIZER_SWIZZLING in your build environment.
If you're using CocoaPods,
you can add this build setting to your
post_install do |r| r.pods_project.targets.each do |target| if target.name == 'AnimatedGIFImageSerialization' then target.build_configurations.each do |config| config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'ANIMATED_GIF_NO_UIIMAGE_INITIALIZER_SWIZZLING=1'] end end end end
UIImageView *imageView = ...; imageView.image = [UIImage imageNamed:@"animated.gif"];
UIImage *image = ...; NSData *data = [AnimatedGIFImageSerialization animatedGIFDataWithImage:image duration:1.0 loopCount:1 error:nil];
AnimatedGIFImageSerialization is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the AnimatedGIFImageSerialization README section above are relevant to that project's source code only.