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

Do you have any examples of zipped bmp's compared to png. Seem strange if that was indeed better.


It shouldn't be that surprising. PNG has a maximum window size of 32KB. That means you could use a small set of identical tiles to make an image, and PNG would have to store a new copy every row, because the previous row is out of range.


Well I just took a screenshot and tried it. BMP: 6MB. lzma-compressed bmp: 75K. PNG through optipng and pngcrush: 178k.

Not very surprising imho. PNG was never a strong compression format to begin with.




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

Search: