Skip to content

Conversation

atone
Copy link

@atone atone commented Jul 6, 2015

In some cases, a gif image url doesn't end up with "gif" extension. So I added a method for detecting image type by checking the first byte of the image data content.

The checking function is from http://stackoverflow.com/questions/4147311/finding-image-type-from-nsdata-or-uiimage

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

Successfully merging this pull request may close these issues.

2 participants