Skip to content

Instantly share code, notes, and snippets.

@tpmccallum
Created November 29, 2020 02:22
Show Gist options
  • Save tpmccallum/f98cb01f4ba986acebef86abde74cb7a to your computer and use it in GitHub Desktop.
Save tpmccallum/f98cb01f4ba986acebef86abde74cb7a to your computer and use it in GitHub Desktop.
An example of rotating an image using Rust (the toml file)
[package]
name = "rotate_an_image"
version = "0.1.0"
authors = ["tpmccallum <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
image = { version = "0.23.0", default-features = false, features = ["jpeg", "png", "gif"] }
imageproc = "0.22.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment