News for hackers. Stuff that matters.
Re:TinyVG: A challenger to the throne of vector graphics by ikskuh on Monday December 20, 2021 @04:25PM (#29630502)
TinyVG is not meant to ever support animations, but should be used in all places where this is not required.

So if you want to use animation for everything, you could design a secondary format that allows animation of TinyVG files hint

Re:TinyVG: A challenger to the throne of vector graphics by dnautics on Monday December 20, 2021 @04:40PM (#29630676)
the biggest thing we could get for the standard that would really help people to animate TinyVG files via a secondary format, without animating TinyVG files, is if you can tag an item with a reference. Maybe do commands 17-26, which are (command n - 16) + an optional 32-bit "reference" field on the top. References are basically "up to the implementor" to do whatever they want with. You might want to also do a command "16" which is an optional "group separator", followed by a 32-bit reference that is otherwise ignored by the TVG engine.

You could probably take a hard line that once you have references, there is no need for any other extension, those are doable using references.

BTW, has someone worked on a js backfill that lets you load the file format in an image tag? I'd be happy to give it a shot with zig/wasm.

Edit: OK, I just found the polyfill.

Re:TinyVG: A challenger to the throne of vector graphics by ikskuh on Monday December 20, 2021 @05:26PM (#29631204)
The tag thingy is an interesting idea, could you create a github issue on the specification repo for that?

=> https://github.com/TinyVG/specification/

Re:TinyVG: A challenger to the throne of vector graphics by dnautics on Tuesday December 21, 2021 @09:55AM (#29637924)
ok, i'll try to find some time this week!