Skip to content
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

Added support for GIFs. Fixes #5 #9

Merged
merged 1 commit into from
Nov 12, 2014

Conversation

twolfson
Copy link
Contributor

In order to support all basic image formats, we are adding support for GIF. This includes support for animated GIFs, meaning 4d arrays. I chose to use checkerboards for the patterns since GIFs have a limited color palette and we have already tested monochrome upcasting in other cases.

In this PR:

  • Added test for unanimated/animated GIFs
  • Added support for unanimated/animated GIFs

Adding back whitespace

Added back all other tests

Added debug clause for good measure

Added assertions for 4d arrays

Fixed assertion against array width/height

Added data handle for 4d arrays

Aded animated GIF test case

Added frame logic to GIF

Added proper assertion for GIF reader

Fixed up width/height comparison

Added frameless GIF test case

Adding test for GIF
@twolfson
Copy link
Contributor Author

Any idea when this can be reviewed/merged?

@mikolalysenko
Copy link
Member

Whoops! Didn't realize this was still open!

mikolalysenko added a commit that referenced this pull request Nov 12, 2014
@mikolalysenko mikolalysenko merged commit 876f996 into scijs:master Nov 12, 2014
@mikolalysenko
Copy link
Member

Thanks! Merged and published!

@twolfson
Copy link
Contributor Author

Awesome, thanks for the quick review and merge =)

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.

None yet

2 participants