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

Smallest transparent gif #543

Closed
robocoder opened this issue Feb 4, 2009 · 6 comments
Closed

Smallest transparent gif #543

robocoder opened this issue Feb 4, 2009 · 6 comments
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone

Comments

@robocoder
Copy link
Contributor

No real performance improvement, other than to boast we’re using the smallest possible gif for the 1×1 (pixel) transparent image.

Ref: http://www.perlmonks.org/?node_id=7974 (World’s Smallest Gif)

@robocoder
Copy link
Contributor Author

Attachment:
[543.diff](http://issues.piwik.org/attachments/543/543.diff)

@mattab
Copy link
Member

mattab commented Feb 4, 2009

umh, I would like to say “lol”; nice one.
ps: did you test this new GIF on all browsers to make sure it really works?

@robocoder
Copy link
Contributor Author

Tested with Firefox 3 (Ubuntu), Safari (iPhone and XP), and IE6/7. Also opens in gimp.

I actually went a step further and decoded the gif manually to verify that it conforms to the [GIF specification](http://www.w3.org/Graphics/GIF/spec-gif89a.txt) and doesn’t use any “tricks”.

@robocoder
Copy link
Contributor Author

Attachment: Replace earlier patch; same size but more nulls
[543.2.diff](http://issues.piwik.org/attachments/543/543.2.diff)

@robocoder
Copy link
Contributor Author

p.s. the second patch can be attributed to:

http://www.zedwood.com/article/90/1×1-transparent-gif-tracking-beacon

@mattab
Copy link
Member

mattab commented Feb 11, 2009

thanks. committed in 889

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

2 participants