resvg | engine | |
---|---|---|
18 | 48 | |
2,528 | 7,125 | |
- | 1.1% | |
9.1 | 10.0 | |
5 days ago | 3 days ago | |
Rust | C++ | |
Mozilla Public License 2.0 | BSD 3-clause "New" or "Revised" 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.
resvg
-
Options for SVG / Text rendering on 2D pixel buffer
I've seen resvg as a potential pick, but it feels huge and seems to be importing skia, which itself is a whole rendering engine. Furthermore, I have no idea if I can pass my own 2D buffer to resvg and let it draw to it.
-
png crate gets an ultrafast compression mode, up to 4x faster decompression
For example, when converting vector SVG images to raster PNG images with resvg, most of the time is spent compressing the PNG image. This is a lot of wasted work if we just want to read the image instead of transferring it over the network! The fast compression mode eliminates all this wasted work, resulting in huge performance and efficiency gains.
-
Is coding in Rust as bad as in C++? A practical comparison
Just as a point of reference, I have a ~75KLOC project (includes dependencies) called resvg which takes just 4s in the debug mode and 8s in the release mode to build on M1 Pro.
- Forma: An efficient vector-graphics renderer
- Inkscape 1.2.2 Released
-
Good example of high performance Rust project without unsafe code?
resvg is very fast, although the performance depends on the exact SVG you feed it - sometimes faster than librsvg, sometimes slower (although librsvg is also written in Rust now, it does use unsafe while resvg doesn't)
- Resvg- a fast, small, portable SVG rendering library in rust
- resvg: pure-Rust SVG rendering library designed for edge cases
-
How to run this Rust project?
So I am absolutely clueless about Rust and just installed it an hour ago to use this tool called "usvg" https://github.com/RazrFalcon/resvg/tree/master/usvg
-
I think more Rust devs should focus more on rewriting software that is prone to exploitation
So, all you gotta do is rewrite the parsers. Funny you mention librsvg because there is a library called resvg that has a thumbnailer implementation for Windows Explorer. https://github.com/RazrFalcon/resvg
engine
-
Ten Years of “Go: The Good, the Bad, and the Meh
https://github.com/flutter/engine/blob/main/impeller/docs/fa...
Impeller is the Skia replacement and is in full c++ that supports all platform.
It will be great if Go team can work with them(both are in Google) and make Impeller a render engine for Go.
With this no more bloated electron.js and no more Java/Swing or Qt, what a dream for the day.
-
The performance of the impeller engine
Likely it's https://github.com/flutter/engine/pull/41168 that fixed it, which got cherry picked into that commit.
-
Flutter embedded
Depends on what you want to do. The best documentation for writing the code where the engine should run in is in this header file.
-
Is Impeller now enabled by default on iOS?
Performance on large-screen and also high-refresh rate iPads was definitely a blind spot during the preview. We've done a ton of work to plug that gap since the preview though. Framebuffer fetch for advanced blends, improvement to blur performance, and using half-precision in performance critical shaders are just some of the improvements driven by these findings.
-
Ubuntu is now using Flutter for its installer
Yes. We use ATK for accessibility. FlAccessibleNode is where SemanticsNode and friends are exposed as ATK objects.
- Make textures thread-safe on linux
- Flutter texture is not thread-safe on Linux
- Possible to embed Flutter in an existing Windows app?
-
How can i experiment with flutter 3D?
The hardware accelerated 3D that was demoed was using Impeller Scene. Considering they were loading glb files I really hope the Flutter API has a GLES interface. It's currently marked "Experimental" and the demo they showed unfortunately doesn't have source in the same place as the other demos presented.
-
What do you wanna know about flutter ?
For example for the last point, embed Flutter in HTML pages, an important PR is recently merged: https://github.com/flutter/engine/pull/37738
What are some alternatives?
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.
canvas2svg - Translates HTML5 Canvas draw commands to SVG
flutter-webrtc - WebRTC plugin for Flutter Mobile/Desktop/Web
svgomg - Web GUI for SVGO
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
vtracer - Raster to Vector Graphics Converter
awesome-tauri - 🚀 Awesome Tauri Apps, Plugins and Resources
lib2geom
blurhash - A very compact representation of a placeholder for an image.
bevy - A refreshingly simple data-driven game engine built in Rust
website - Flutter documentation web site