Hi,
In the meantime I found a workaround by doing a system call to use Imagemagick from Perl like this.
$command = "convert $inputfile -matte -virtual-pixel transparent -distort perspective '0,0,-15,0,0,59,0,59,281,59,281,59,281,0,287,0' ".$outputfile;
$return_code = system($command);
But I ...
Search found 2 matches
- 2013-05-21T06:31:54-07:00
- Forum: PerlMagick
- Topic: How to do Perspective Projection Distortion ?
- Replies: 1
- Views: 13559
- 2013-05-06T15:02:16-07:00
- Forum: PerlMagick
- Topic: How to do Perspective Projection Distortion ?
- Replies: 1
- Views: 13559
How to do Perspective Projection Distortion ?
Hi,
I have Perlmagick / Imagemagick 6.7.7.10-5 installed on my Raspberry Pi.
I want to do a perspective projection distortion, basically taking the upper two points of the image and shift them out on x-axis further left (-15) and right (+8).
I understood from the docu ( http://www.imagemagick.org ...
I have Perlmagick / Imagemagick 6.7.7.10-5 installed on my Raspberry Pi.
I want to do a perspective projection distortion, basically taking the upper two points of the image and shift them out on x-axis further left (-15) and right (+8).
I understood from the docu ( http://www.imagemagick.org ...