Skip to content

An Elixir library wrapper around ImageMagick's mogrify utility

License

Notifications You must be signed in to change notification settings

rramsden/mogrify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mogrify

This is a wrapper for ImageMagick's mogify utility

Usage

Modify an image in-place for faster performance

iex> image = Mogrify.new("path/to/image.png")
iex> image = Mogrify.resize(image, "50x50")
iex> IO.puts image.path

You can also create a copy of the image if you don't want to overwrite the original by opening file using Mogrify.open/1

iex> image = Mogrify.open("path/to/image.png")
iex> image = Mogrify.resize(image, "50x50")
iex> IO.puts image.path

About

An Elixir library wrapper around ImageMagick's mogrify utility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages