simple-game
imageproc (PistonDevelopers)
simple-game | imageproc (PistonDevelopers) | |
---|---|---|
4 | 3 | |
5 | 736 | |
- | 1.2% | |
3.9 | 8.8 | |
8 days ago | 18 days ago | |
Rust | Rust | |
- | 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.
simple-game
-
Looking for an image manipulation library that can add text to images. (and has documentation for it)
I have a somewhat naive version of this sort of system running via wgpu, but that's likely lower level than you'd want to go.
-
Some advice on starting out
I won't claim this is great code, but poke around a little bit at my wgpu code and get a sense for how it compares to OpenGL. Overall the concepts are pretty close to each other, it's just that you declare everything up front instead of poking at OpenGL via functions to set things to the state you want.
-
First Public Working Drafts: WebGPU and WebGPU Shading Language
It's really not that bad. I had some complaints about WGSL a few months ago but it was surprising how quickly it improved. Here are some simple real-world shaders you can look at:
https://github.com/bschwind/simple-game/tree/9de179085a04dd4...
If you combine it with a quick build step to give you shader compilation errors before your program runs, it becomes a pretty nice shading language. There are still a few rough edges but it's not _that_ bad to work with.
-
Last big wgpu-rs example shaders are fully ported to WGSL now, and validated in it
Thanks! I ended up going that route here
imageproc (PistonDevelopers)
- Looking for an image manipulation library that can add text to images. (and has documentation for it)
-
Searching help for Rust Image Manipulation
I suggest you have a look at the [imageproc](https://github.com/image-rs/imageproc) crate. Personally, I feel like image processing / manipulation in Rust has a long way to go, though.
- manipulating jpeg files
What are some alternatives?
nannou - A Creative Coding Framework for Rust.
opencv-rust - Rust bindings for OpenCV 3 & 4
wgpu-rs - Rust bindings to wgpu native library
image - Encoding and decoding images in Rust
sokol - minimal cross-platform standalone C headers
magick-rust - Rust bindings for ImageMagick
piet - An abstraction for 2D graphics.
oxipng - Multithreaded PNG optimizer written in Rust
naga - Universal shader translation in Rust
imageproc - An advanced image processing library for Rust.
img-hash - A Rust library for calculating perceptual hash values of images
Raster - An image processing library for Rust