how to map "-morphology edgein diamond:1" in PerlMagick

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Posts: 45
Joined: 2013-12-13T11:13:29-07:00
Authentication code: 6789

how to map "-morphology edgein diamond:1" in PerlMagick

Post by gubach »


I want to map this command line

convert imput.png -morphology edgein diamond:1 result.png

in PerlMagick but with the description of the Morphology method

Morphology kernel=>string, channel=>{All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow}, iterations=>integer

I do not see how this could be made. Thanks for any help!