Search the Community
Showing results for tags 'svgo'.
Is it possible to add compatibility with SVGO https://jakearchibald.github.io/svgomg/ It is the most popular SVG optimizer for the web. Exported SVG files would be a way lighter. And it would be good to have a checkbox for exporting inline styles as classes it is useful for colorizing SVG using JS or CSS.
I have an SVG which contains a gradient with 2 stops (darker blue to lighter blue) that I created with Affinity Designer that I later optimised with SVGO for smaller size for web use. However, after re-opening the optimised SVG in Affinity Designer, the gradient doesn't show - the entire curve appears as filled with only the first colour stop. However, when clicking on the curve, the fill settings show the correct gradient with both stops. The gradient in the optimised SVG shows up fine in all web browsers and a few other graphics editors. Attached is the file.
Hi there, just something I noticed, not sure if it's a bug, missing feature, or something that can't work by design. I made a nice artwork in Affinity Designer, using bunch of gradient fills (linear), and also transparency fills (linear). I exported the file as SVG and it looks great in Safari and Firefox (no lost features). Next I optimise things with SVGO (https://github.com/svg/svgo) which does its thing and reduces the file size by almost 40%. The resulting file still looks great in Safari and Firefox (no lost features and all gradients and transparency effects are