Welcome! Log In Create A New Profile

Advanced

Re: Empty GIF generator not actually empty

All files from this thread

File Name File Size   Posted by Date  
b.gif 43 bytes open | download Lorin Halpert 07/01/2010 Read message
July 01, 2010 02:30AM
On Thu, Jul 01, 2010 at 01:48:31AM -0400, Lorin Halpert wrote:

> Using the built-in generator changes the color of the background color under
> Chrome, yet using my own blank doesn't cause this. I've attached a "known
> good" blank created in Fireworks (same byte size) so it can replace the one
> in the nginx codebase. I am under windows with no development tools so I
> can't create a patch myself but I'm able to test a new binary to validate
> that it's fixed.

The current empty GIF has 2 colors: #0: black and #1 white.
The white (#1) color is used as background and as transparent color.

The suggested GIF has two colors: #0 gray (C0C0C0) and #1 black.
The transparent color is #0 (gray). The background color is #256
and there is no such color number in the GIF table. I'm not sure
how browsers will handle this case. Probably they use just #1 color.

However, I do not understand the issue. Could you show example on
the web where built-in GIF changes background color ?


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Empty GIF generator not actually empty Attachments

Lorin Halpert July 01, 2010 02:00AM

Re: Empty GIF generator not actually empty

Igor Sysoev July 01, 2010 02:30AM

Re: Empty GIF generator not actually empty

Igor Sysoev July 01, 2010 02:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 127
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready