resvg-js
svgcleaner
resvg-js | svgcleaner | |
---|---|---|
3 | 7 | |
1,414 | 1,437 | |
- | - | |
8.3 | 2.1 | |
21 days ago | over 2 years ago | |
TypeScript | Rust | |
Mozilla Public License 2.0 | GNU General Public License v3.0 only |
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.
resvg-js
-
Dynamic OG image with SvelteKit and Satori
Note: SVG are not suppose to be served for OG Images (we use png format in OG Images) where we use SVG to PNG coverter Resvg.
-
Vercel OG Image Generation: Fast, dynamic social card images at the Edge
There are already a lot of choices to convert SVGs to PNGs, what Vercel uses is https://github.com/yisibl/resvg-js. And Sharp is another good option.
- resvg-js 2.0: A High-Performance SVG Renderer and Toolkit
svgcleaner
-
TinyVG – an alternative binary encoded vector graphics format
I'm not sure, but it seems svgcleaner can remove unused and invisible graphical elements[1]. I don't know if TinyVG preserves them. but if it does, it's not a fair comparison.
Did you try converting svgcleaner processed SVG to a TVG?
[1] https://github.com/RazrFalcon/svgcleaner
-
Name a program that doesn't get enough love!
oxipng, pngquant and svgcleaner — optimizing images
-
Inkscape 1.2 as a Godot Graphics Tool
One of the new features of Godot 4 is svg with embeds like svg, jpg and png. Also if you have svg fonts, you can clean it with https://github.com/RazrFalcon/svgcleaner and it may import.
-
Parcel v2 releases from beta, includes new Rust compiler for huge performance gains
svgcleaner is designed for standalone SVG files, and will fail on or butcher a significant fraction of inline SVG icons and the likes because it can’t cope with currentColor.
-
Essential SVG tools
There's also SVG Cleaner which has some compelling benefits over SVGO.
-
Tech stack for my open source icons project (Iconduck)
svgcleaner is a CLI (command line) tool which cleans up vector files. Often, vector files will have a lot of extra “stuff” in them that aren’t needed for the presentation side of things, so this helps to reduce the file size. I store both the original vector of the icon, and a cleaned version.
What are some alternatives?
nodejs-snowflake - Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)
xsv - A fast CSV command line toolkit written in Rust.
rust-wasm-on-lambda-edge - Rust/WASM on AWS Lambda@Edge (CloudFront)
svgbobrus - Convert your ascii diagram scribbles into happy little SVG
vtracer - Raster to Vector Graphics Converter
Debian Repository Builder - A project for automatically generating and maintaining Debian repositories from a TOML spec.
satori - Enlightened library to convert HTML and CSS to SVG
euclider - A higher dimensional raytracing prototype with non-euclidean-like features
sveltekit-og - Generate Open Graph Images dynamically from HTML/CSS without a browser in SvelteKit
Servo - Servo, the embeddable, independent, memory-safe, modular, parallel web rendering engine
wasm-learning - Building Rust functions for Node.js to take advantage of Rust's performance, WebAssembly's security and portability, and JavaScript's ease-of-use. Demo code and recipes.
iota - A terminal-based text editor written in Rust