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

SWF has a very cleverly designed binary vector graphics format, which naturally lends itself to small filesizes. Much better than SVG or (E)PS, I think.


Can you share more on the "clever" part?


To quote from the format spec, "SWF uses techniques such as bit-packing and structures with optional fields to minimize file size." Many fields are variable-width numbers of bits, using only as many bits as necessary to encode the data. Coordinates are delta-encoded.




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

Search: