First of all, we create a Cargo project,
cargo new my_projectwhere my_project is the name of the project.
In the project directory, we add image to the project.
cargo add imageThe dependencies in Cargo.toml file should look like this:
[dependencies]
image = "0.25.4"➡️ Next: Loading And Saving Image Files
📘 Back: Table of contents