Comment

Comment by McKayDavis

Often, you can considerably reduce the file size of an SVG text file without a noticeable reduction in perceptual quality just by reducing the precision of the coordinates.

The awesome SVG Optimizer [1] has a filter (cleanupNumericValues) to process SVG files to a fixed precision.

The equally awesome SVG Optimizer Missing Gui (SVGOMG) [2] provides a web-based GUI [3] to interactively adjust precision and see the resulting render (and file-size).

[1] https://github.com/svg/svgo

[2] https://github.com/jakearchibald/svgomg

[3] https://jakearchibald.github.io/svgomg

parent McKayDavis 4 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton