Search found 2 matches
- 2018-12-27T23:02:15-07:00
- Forum: IMagick
- Topic: Translate Imagemagick command to Imagick
- Replies: 3
- Views: 112926
Re: Translate Imagemagick command to Imagick
setGravity doesn't work either. Could you give me some tips on computing the offset from the northwest to the image area
- 2018-12-27T22:45:41-07:00
- Forum: IMagick
- Topic: Translate Imagemagick command to Imagick
- Replies: 3
- Views: 112926
Translate Imagemagick command to Imagick
I have the following imagemagick command line options
-gravity center -background none -extent ${wbg}x${hbg}
which I replicated with the following Imagick code piece but not producing the same result.
$tmpA12->setImageGravity(imagick::GRAVITY_CENTER);
$tmpA12->setImageBackgroundColor(new ...
-gravity center -background none -extent ${wbg}x${hbg}
which I replicated with the following Imagick code piece but not producing the same result.
$tmpA12->setImageGravity(imagick::GRAVITY_CENTER);
$tmpA12->setImageBackgroundColor(new ...