We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here I want to use convert to resize an image. Mogrify.create/2 is using convert underneath.
convert
Mogrify.create/2
import Mogrify open("/tmp/old.jpg") |> resize_to_fill("100x100") |> create(path: "/tmp/new.jpg")
However no image was created. Change the last line to save(path: "/tmp/new.jpg") works though.
save(path: "/tmp/new.jpg")
The text was updated successfully, but these errors were encountered:
I'm not really sure but the arguments of create should be a list
import Mogrify open("/tmp/old.jpg") |> resize_to_fill("100x100") |> create([path: "/tmp/new.jpg"])
Sorry, something went wrong.
No branches or pull requests
Here I want to use
convert
to resize an image.Mogrify.create/2
is usingconvert
underneath.However no image was created. Change the last line to
save(path: "/tmp/new.jpg")
works though.The text was updated successfully, but these errors were encountered: