Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is no different than 200 256-color GIFS loaded side by side. Sure, the entire image is 32K colors, but each 16x16 block is limited to 256 colors still.

Plus the forced animation makes it effectively useless.

What's the point of that?



Well, in a 16x16 block you only have 16x16=256 pixels, so the blocks themselves are basically "true color". Stack blocks and you'll have lossless true color. Of course, this was more interesting before .png support became widespread in browsers.

(Also, I believe you're not restricted to 16x16/256col blocks. If you can fit a pattern of 255 distinct colors + transparency over a larger image, you could stack several frames to create the same effect, without having to drop down to 16x16 local blocks)


There isn't much point, but that's perfectly fine. It's interesting just to know that it can be done, and it's a fun hack.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: