Re:Introducing the ‘mozjpeg’ Project
by userbinator on Wednesday March 05, 2014 @07:15PM
(#7350943)
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.
[ Parent
| on HN ]
Can you share more on the "clever" part?
Re:Introducing the ‘mozjpeg’ Project
by userbinator on Wednesday March 05, 2014 @07:57PM
(#7351129)
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.