Our great sponsors
svgo | svgomg | |
---|---|---|
29 | 77 | |
20,333 | 5,641 | |
0.8% | - | |
9.0 | 5.9 | |
8 days ago | about 1 month ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
svgo
-
Random Code Inspiration Volume 2
image-shrinker is a simple, easy to use open source tool for shrinking images. Under the hood it uses pngquant, mozjpg, SVGO, and gifsicle. You can also install these tools individually if you need to compress some images. I often use pngquantafter exporting PNGs for web projects from Figma or similar tools. I literally run it like this:
-
Dynamic SVG images using Next.js
In addition to the techniques we’ve discussed so far, there are optimization tools available that can further enhance SVG images. These tools, such as SVGO and ImageOptim, offer valuable features to reduce file size and clean up SVG markup, making it easier to standardize and optimize the overall performance of SVG assets.
-
Is it possible to save multiple files as optimized SVGs at once?
Open the terminal and cd to the folder containing your SVG files and run the command inkscape *.svg --export-plain-svg --export-type=svg And Inkscape is going to save your files as plain SVG and append the word "_out" to them. Note : Plain SVG files are not optimized for the web, you should use SVGO or any other Node.js tool, there are a lot of them on MPM
- F360 going crazy over a client supplies SVG. Anything to clean it up?
- What is the benefit of stripping viewBox?
-
Ask HN: FOSS Projects Worth Donating To?
Look at software you use and identify underlying libraries.
SVGO https://github.com/svg/svgo is used by many graphics software but hasn't seen donations commensurate with usage https://opencollective.com/svgo
- Создаем React-компоненты иконок с помощью Figma API и SVGR. Часть 2.
- Used an online SVG editor, this code got added to my file. I've already opened the file. How fucked am I?
-
Using SVGs in Common Lisp web apps with Djula
There are still a lot of things cl-djula-svg is capable of doing. For the immediate future, I am looking at adding optimization capabilities something like what svgo is doing for svgr. If you know anything else needs to be done to improve the package, please open an issue in the repository.
-
Is Rust a good first language to master?
Writing/patching JS/TS-based CLI tools like Prettier or SVGO
svgomg
-
How to make this map clickable?
Im assuming if you click on the red dot you get to see the names. Try to get a svg without the names. Get it through SVGOMG https://jakearchibald.github.io/svgomg/ and then make a component out of it. Add click listener to the dots and voila
- Svgomg – SVGO's Missing GUI
-
200 Web-Based, Must-Try Web Design and Development Tools
SVG Optimizer
-
7 Free Lifesaver Image Tools Every Frontend Developer Must Have In Their Arsenal 🛠️🚀
SVGOMG for optimizing SVG
- Decal Converison
- Anyone know how to upload decals with detail, yet without going over the file size limit?
-
Why does Inkscape save my SVG file so large? Like, it's just a simple logo with 241 nodes.
Use https://jakearchibald.github.io/svgomg/ to strip out all the unnecessary data.
-
TinyVG – an alternative binary encoded vector graphics format
I came here to say the same thing.
Somebody recently pointed me at a nice online GUI for svgo, so you can try it for yourself without installing anything: https://jakearchibald.github.io/svgomg/
-
Is there a pure SVG Editor?
Use what ever you to create it the run it through https://jakearchibald.github.io/svgomg/
-
Complex SVGs
In addition to the good points others have posted, you could also try using the SVGOMG tool to reduce the final size.
What are some alternatives?
svgr - Transform SVGs into React components 🦁
resvg - An SVG rendering library.
svg-to-react - Tool to convert SVG files to React components
ImageOptim - GUI image optimizer for Mac
Beatbump - Alternative YouTube Music frontend built with Svelte/SvelteKit 🎧
heroicons - A set of free MIT-licensed high-quality SVG icons for UI development.
xooks - General purpose react hooks collection
iconvg - IconVG is a compact, binary format for simple vector graphics: icons, logos, glyphs and emoji.
easyeda-svg-import - Simple SVG Importer for EasyEDA PCB that doesn't convert everything to Comic Sans 😄
WPGulp - An advanced Gulp workflow for WordPress development with extensive documentation. Used by 40,000+ themes and plugins.
feather - Simply beautiful open-source icons