Live data from Hacker News

TinyVG: A challenger to the throne of vector graphics

zig.news

11–20 of 196 posts

Re: TinyVG: A challenger to the throne of vector graphics

#11
post #9

Excluding animations kills this for me . We need more SVG animations on the web. But the state of animation in SVG is a headache unless your using a third party library .

If your argument is that animations in SVG don't work well then wouldn't it be best to use TinyVG in place of static SVG assets and make something new that is better suited for animation?

Re: TinyVG: A challenger to the throne of vector graphics

#13
post #9

Excluding animations kills this for me . We need more SVG animations on the web. But the state of animation in SVG is a headache unless your using a third party library .

> We need more SVG animations on the web.

Do we, though?

We've already had animated GIFs, the marquee tag, Java applets, and Flash animation, and they've all died out because 99.9% of the time the animation is obnoxious and terrible. Vector animation would be just as annoying.

Re: TinyVG: A challenger to the throne of vector graphics

#14

Really cool work - I've been looking for something like this for some time and have played around with HVIF and IVG to that end. @ikskuh since I see you here in the comments, I have one nitpick: I don't think it's fair to compare your binary format to an uncompressed SVG file since they are most often used online (and often used even offline) as gzip- or brotli-compressed resources. It would be nice to see an additio…

Yes, i've heard it from some people already. Will add this to the benchmark tomorrow. It's late here in germany and running the benchmark takes roughly 30 minutes already. With gzip, i expect it to go up to 45 or 60 minutes, as we all want good compression rates!

Re: TinyVG: A challenger to the throne of vector graphics

#16
post #3

Earlier quoted context omitted.

Author here: This is actually a limitation of chrome! The images are perfectly sharp when displayed as files: https://tinyvg.tech/img/app-icon.png The are just up/downscaled to 3em height so the table looks uniform

I'm seeing the same thing in firefox (Linux)

Yes, it's because the images in the PDF are always scaled. I cannot get them to pixel-perfect display in the PDF renderings anyways

The images are the output from the offline renderer, so they are included as PNGs

Re: TinyVG: A challenger to the throne of vector graphics

#18
For simple image generation, nothing beats SVG or EPS. For years, these two technologies have let me add cool stuff to PDFs and web pages without the need for expensive/complex/insecure libraries. It is going to be pretty hard to beat the ease of generating these formats.

Re: TinyVG: A challenger to the throne of vector graphics

#19
While I do appreciate the thought process and hard work, it does maybe feel like the most of the benefits could be obtained with a strict subset of SVG instead - something like SVG Tiny was meant to be, but with fewer bad decisions! That would allow for compatibility with the existing ubiquitous SVG ecosystem.

Re: TinyVG: A challenger to the throne of vector graphics

#20
post #7

There are many other popular vector graphics formats beyond those mentioned here. Lottie has already displaced SVG for animation/motion graphics, and for static content IconVG exists and is backed by Google. There's also PDF, PostScript, Flash, the glyf format in OpenType, etc.

I have heard very good words about the eps format from a vector-format nerd (he reads file format specifikation books because its fun). I would love to here more opinions about eps from other developers.

How does eps really compare with the other formats mentioned above?

Post reply on HN