Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add GIF, PNG, JPG… #6

Closed
mathiasbynens opened this Issue · 4 comments

2 participants

@gweax

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..;|
@mathiasbynens

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!

@gweax

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.

@mathiasbynens

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
Something went wrong with that request. Please try again.