View Source Example Usage

Image.resize/3
Image.resize(image, 200, crop: :none)
Image.resize/3
Image.resize(image, 200, crop: :attention)
Image.crop/5
Image.crop!(image, 550, 320, 200, 200)
Image.rounded/2
image |> Image.resize!(200, crop: :attention) |> Image.rounded!()
Image.avatar/3
Image.avatar(image, 200)