Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 556 Bytes

File metadata and controls

25 lines (17 loc) · 556 Bytes

Setting Up

First of all, we create a Cargo project,

cargo new my_project

where my_project is the name of the project. In the project directory, we add image to the project.

cargo add image

The dependencies in Cargo.toml file should look like this:

[dependencies]
image = "0.25.4"

➡️ Next: Loading And Saving Image Files

📘 Back: Table of contents