透明单像素图像的最小文件大小 [英] smallest filesize for transparent single pixel image
问题描述
目前我有一个49字节的gif,它似乎是最重要的(以文件尺寸计)透明的1像素图像。很受欢迎。
但是我记得很多年前有一个小于40字节的文件。可能是32个字节。
任何人都可以做得更好吗?只要现代Web浏览器能够显示它并尊重透明度,图形格式就不是问题。
更新:好的,我找到了42字节透明单像素gif: UPDATE2 :看起来像小于43字节的内容在某些客户端可能不稳定。不能有。 解决方案
http://bignosebird.com/docs/h3.shtml
结帐 blank.gif
文件(43字节)。小于49:D
I'm looking for the smallest (in terms of filesize) transparent 1 pixel image.
Currently I have a gif of 49 bytes which seems to be the most popular.
But I remember many years ago having one which was less than 40 bytes. Could have been 32 bytes.
Can anyone do better? Graphics format is no concern as long as modern web browsers can display it and respect the transparency.
UPDATE: OK, I've found a 42 byte transparent single pixel gif: http://bignosebird.com/docs/h3.shtml
UPDATE2: Looks like anything less than 43 bytes might be unstable in some clients. Can't be having that.
Checkout this blank.gif
file (43 bytes). Less than 49 :D
这篇关于透明单像素图像的最小文件大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!