PerlMagick, Distort: One pixel off error
Posted: 2009-05-28T13:11:47-07:00
If I understand correctly, the following should be a NOP:
But it's not, the image is displaced by [1,1], no matter what "points" is.
At least for me and my IM 6.5.1.0
Cheers,
Searle
Code: Select all
$image->Distort( "method" => "Perspective",
"points" => [ 0,0 => 0,0, 100, 0 => 100,0, 0,100 => 0,100, 100,100 => 100,100 ],
"best-fit" => 1,
);
At least for me and my IM 6.5.1.0
Cheers,
Searle