Search found 2 matches
- 2012-03-31T09:57:19-07:00
- Forum: IMagick
- Topic: [Resolved] How to center a text in an image
- Replies: 2
- Views: 8945
Re: How to center a text in an image
Finally i used set gravity to center the text. Here is the code : <?php $image = new Imagick('./blank.png'); $circle = new Imagick('./circle.png'); $circle_geo = $circle->getImageGeometry(); $number = 11; $number_font = './MyriadPro-Bold.otf'; $circle_pos_x = 150; $circle_pos_y = 150; $image ...
- 2012-03-30T10:46:26-07:00
- Forum: IMagick
- Topic: [Resolved] How to center a text in an image
- Replies: 2
- Views: 8945
[Resolved] How to center a text in an image
Hi, I would like to copy a circle in a image and then center a number inside that circle. I tried but it doesn't work, here is my code. convert -version Ubuntu 32 Version: ImageMagick 6.6.0-4 2011-06-15 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC Features ...