Discussions

Ask a Question
Back to All

Is it possible to use dragonfly with any command ?

Hi,

I'd like to use an imagemagick command converting some of my images to duotone color space. The Imagemagick command that works for that is this one :
magick convert image.png -colorspace gray -level +10% +level-colors '#FF002E','#FFF59B' image_duotone.png

That works fine locally as a command line. I'd like to know how to use it in my code to apply the filter to images on the fly. Is there a tag that allow to pass any command to DragonFly and imageMagick ?
I see the "resize" tag but it seems really specific

Thanks !