Closed Barno closed 7 years ago
You're using the library wrong. Mogrify.image_operator("convert foo.jpg -auto-level -sharpen 0x2.1")
doesn't make sense, you're shoehorning a shell command where you should be putting an argument to the mogrify
command-line program.
open("foo")
|> custom("auto-level")
|> custom("sharpen", "0x2.1")
|> save(...)
Perfect, in that way i don't have file with tilde. Thanks!
After this operation on my image
Mogrify.open("foojpg") |> Mogrify.image_operator("convert foo.jpg -auto-level -sharpen 0x2.1") |> Mogrify.save(path: "public/bar.jpg")
in my Folder I have two files
bar.jpg and bar.jpg~
Can I avoid bar.jpg~ ?
My version is: