News for hackers. Stuff that matters.
Re:TinyVG – an alternative binary encoded vector graphics fo... by userbinator on Monday March 20, 2023 @09:25AM (#35231156)
There's already a very good binary encoded vector graphics format, which also supports animation among other things --- SWF. The descriptions in this specification actually look somewhat like it.

The original SVG is 96,719 bytes large, while the optimized one is 85,806 bytes large. When converted to TinyVG, the file shrinks to 27,522 bytes. This means we only have 32% size of the optimized source data.

I have a tiger.swf which is 21381 bytes, and since there's another comment here about gzip'ing them, tiger.swf.gz turns out to be only 17296 bytes. In conclusion, I think a subset of SWF, of which much existing rendering code is available, will provide much better efficiency and compatibility than this.

Re:TinyVG – an alternative binary encoded vector graphics fo... by mcdonje on Monday March 20, 2023 @10:20AM (#35231860)
SWF is flash. Vector graphics are just a subset of the format. Any tool claiming to support that format would have to support the rest of the spec, which is overkill for many vector applications.

Even though Adobe owns SWF, they don't support it in Illustrator outside of exporting.

Re:TinyVG – an alternative binary encoded vector graphics fo... by account42 on Monday March 20, 2023 @12:47PM (#35234445)
You can always pull a marketing stunt like .webm vs. Matroska if you want to advertise support for a variant of Flash constrained to just the vector parts.
Re:TinyVG – an alternative binary encoded vector graphics fo... by userbinator on Monday March 20, 2023 @08:13PM (#35240762)
Plenty of existing tools only support a subset of SWF, mainly the vector graphics and animation parts. It's used for UIs in games and various other applications.

https://en.wikipedia.org/wiki/Gameswf

Re:TinyVG – an alternative binary encoded vector graphics fo... by Narishma on Monday March 20, 2023 @11:09AM (#35232613)
Is there a spec for SWF?
Re:TinyVG – an alternative binary encoded vector graphics fo... by robterrell on Monday March 20, 2023 @01:14PM (#35234932)