Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

onmyway133/GifMagic

Open more actions menu

Repository files navigation

GifMagic

❤️ Support my apps ❤️

❤️❤️😇😍🤘❤️❤️

CI Status Version Carthage Compatible License Platform Swift

Encoder

Encode images into gif file

let url = Encoder().encode(images: images, frameDuration: 0.05)

Decoder

Decode gif file into images and get info

let info = Decoder().decode(gifUrl: url)

info.images
info.frameDuration
info.pixelWidth
info.pixelHeight

Decode video file into images and get info

let info = Decoder().decode(videoUrl: url)

info.images

Modifier

Modify each frame within the gif

let newGifUrl = Handler().modify(gifUrl: url, closure: { image in
  // Handle image the way you want
  return image
})

Installation

GifMagic is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'GifMagic'

GifMagic is also available through Carthage. To install just write into your Cartfile:

github "onmyway133/GifMagic"

GifMagic can also be installed manually. Just download and drop Sources folders in your project.

Author

Khoa Pham, onmyway133@gmail.com

Contributing

We would love you to contribute to GifMagic, check the CONTRIBUTING file for more info.

License

GifMagic is available under the MIT license. See the LICENSE file for more info.

About

💈 Gif maker and extractor in Swift

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.