title | timestamp | author | published | description | tags | todo | ||
---|---|---|---|---|---|---|---|---|
Image - a crate to generate and manipulate images in Rust |
2023-12-27 05:00:01 -0800 |
szabgab |
true |
Create new images, change existing images in Rust |
|
|
In this series we use the image crate to create new images and manipulate existing ones.
-
Create empty image with the image crate of Rust -
RgbImage
,ImageBuffer
,save
, -
Create empty image with white background and black borders using Rust.
-
Create image with text written on it using Rust -
draw_text_mut
,text_size
,Font
,Scale
,Rgb
,RgbImage
,get_pixel_mut
. -
Resize image using Rust -
resize
,save
,width
,height
,FilterType
. -
Crop image using Rust -
crop_imm
,crop
,save
,width
,height
. -
Create QR code using Rust -
qrcode
.