I see Magick! Thank you very much. There are three equivalent solutions:
-----------------------------------------------------
use Image::Magick;
$leftBorder = 10;
$rightBorder = 20;
$topBorder = 30;
$bottomBorder = 40;
$image = Image::Magick->new;
$x = $image->Read('src.png');
# Solution 1 ...
Search found 3 matches
- 2015-03-29T01:58:01-07:00
- Forum: PerlMagick
- Topic: Gravity weighs heavy on newbie
- Replies: 5
- Views: 21909
- 2015-03-24T15:00:24-07:00
- Forum: PerlMagick
- Topic: Gravity weighs heavy on newbie
- Replies: 5
- Views: 21909
Re: Gravity weighs heavy on newbie
Yes you are right, Snibgo. It was my mistake only when I wrote the example. Sorry. There is corrected example illustrating wrong behaviour:
--------------------------------------
use Image::Magick;
$image = Image::Magick->new;
$x = $image->Read('src.png');
$image->Extent( width=>$image->Get('width ...
--------------------------------------
use Image::Magick;
$image = Image::Magick->new;
$x = $image->Read('src.png');
$image->Extent( width=>$image->Get('width ...
- 2015-03-19T14:36:23-07:00
- Forum: PerlMagick
- Topic: Gravity weighs heavy on newbie
- Replies: 5
- Views: 21909
Re: Gravity weighs heavy on newbie
Hi,
I have the same problem described above but with last versions of IM (e.g. ImageMagick-6.9.0-10-Q16-x64-dll.exe, ImageMagick-6.8.7-5-Q16-x64-dll.exe). It seems that gravity option is ignored and is used northwest all the time.
Please, see this sample code ...
I have the same problem described above but with last versions of IM (e.g. ImageMagick-6.9.0-10-Q16-x64-dll.exe, ImageMagick-6.8.7-5-Q16-x64-dll.exe). It seems that gravity option is ignored and is used northwest all the time.
Please, see this sample code ...