Distort Resize
Posted: 2016-02-18T08:26:55-07:00
How do I use Distort Resize in perlmagick and actually define the dimensions?
This is what I use on the terminal:
Which does exactly what it should, but my problem is that I just can't figure out how I recreate exactly that in perl.
from what I understand this is how one uses distort:
but how do I specify x1080 as the target height and use Lanczos as filter?
This is what I use on the terminal:
Code: Select all
convert input.png -filter Lanczos -distort resize x1080 out.jpg
from what I understand this is how one uses distort:
Code: Select all
$x = $image->Distort(method=>'Resize');