Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
c12i committed Nov 5, 2023
1 parent 4e99985 commit 60298b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ See [this whitepaper](https://core.ac.uk/download/pdf/235050007.pdf) for referen

## Usage

1. Add `img_stegano`, `git` dependency in your `Cargo.toml`.
1. Add `img_stegano` as a `git` dependency in your `Cargo.toml`.

```toml
[dependencies]
Expand All @@ -24,7 +24,7 @@ img_stegano = {git = "https://github.com/collinsmuriuki/img_stegano.git"}

2. Import the `ImgStegano` to use as demonstrated in the following example:

`encode_from_image`: Encode and decode from [`DynamicImage`](https://creative-coding-the-hard-way.github.io/Agents/image/enum.DynamicImage.html)
`encode_from_image`: Encode and decode from an `Image` struct

```rust,no_run
use img_stegano::{ImgStegano, Image, image::ImageFormat};
Expand Down

0 comments on commit 60298b4

Please sign in to comment.