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');
Code: Select all
convert input.png -filter Lanczos -distort resize x1080 out.jpg
Code: Select all
$x = $image->Distort(method=>'Resize');