Created
November 19, 2019 04:38
-
-
Save dmytro-anokhin/69e8d24b4558620c7dccd34b1edd7678 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension ImageDecoder { | |
/// Creates static or animated image depending on `frameCount`. | |
var uiImage: UIImage? | |
/// Creates animated image if there is more than one frame. | |
var animatedUIImage: UIImage? | |
/// Creates static image from the first frame. | |
var staticUIImage: UIImage? | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment