I have a project and I have to do a perspective image with imagemagick.
On my dev platform (windows IM:6.6.2-10), imagemagick create a perfect image but on my production (ubuntu 6.6.0-4) platform I have an issue.
Example of my code :
Code: Select all
exec('convert source.jpg -matte -virtual-pixel transparent -distort Perspective "0,0,0,0 0,472,0,472 444,0,444,80 444,472,444,400" result.png');
header("Content-Type: image/png");
print file_get_contents('result.png');

Result on ubuntu platform :

Thanks in advance for your help
Regards