Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add GIF, PNG, JPG… #6

Closed
mathiasbynens opened this Issue Dec 19, 2011 · 4 comments

Comments

Projects
None yet
2 participants
Contributor

gweax commented Apr 18, 2012

According to http://programming.arantius.com/the+smallest+possible+gif this is the smallest valid gif:

00000000  47 49 46 38 39 61 01 00  01 00 00 00 00 3b        |GIF89a.......;|

but cannot be handled by all browsers. The smallest working transparent valid gif seems to be

00000000  47 49 46 38 39 61 01 00  01 00 80 00 00 ff ff ff  |GIF89a..........|
00000010  00 00 00 21 f9 04 01 00  00 00 00 2c 00 00 00 00  |...!.......,....|
00000020  01 00 01 00 00 02 02 44  01 00 3b                 |.......D..;|
Owner

mathiasbynens commented Apr 18, 2012

Hey @gweax, wanna give it a whirl and submit a pull request for the smallest valid GIF? We don’t care about browser support around here. Thanks!

Contributor

gweax commented Apr 18, 2012

Sure, I will. Currently I'm researching into smallest pngs and jpgs, and when I'm done I will learn how to do pull requests.

Owner

mathiasbynens commented Apr 18, 2012

Awesome! Looking forward to reading more about your research.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment