-
Some ImageMagick docs recommend using "Distort Resize" instead of simple "Resize" for higher quality slower resizing. With commandline IM it's simple: But with Wand you can only specify filter for
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
You would achieve this by defining the filter option before calling the distort method. with Image(...) as inputImage:
inputImage.options['filter'] = 'lanczos'
inputImage.distort('resize', (newWidth, newHeight)) The C-API also doesn't have a clear way to mimic the CLI example, but we can update Wand's Distortion Guide to include examples. I think |
Beta Was this translation helpful? Give feedback.
-
Good news! Getter/setter for filterType has been added to MagicWand. |
Beta Was this translation helpful? Give feedback.
-
I've tested 0.6.11 release, everything works as expected, thank you! This thread can be closed. |
Beta Was this translation helpful? Give feedback.
I've tested 0.6.11 release, everything works as expected, thank you! This thread can be closed.