I want to create a simple image which only contains text. Similar to this:
http://www.imagemagick.org/Usage/text/#label
However, I'd like to keep it within php's Imagick. I know the font size, and I want the canvas size to fit to the font size, like it does in the xample. Unfortunalty, I don't see a way to do this with Imagick in PHP. can someone assist?
Thanks!
IMagick PHP version of Label - Simple Text Label
-
- Posts: 37
- Joined: 2008-09-01T08:31:26-07:00
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: IMagick PHP version of Label - Simple Text Label
I am not an Imagick expert, but see labelImage() at http://us3.php.net/manual/en/book.imagick.php, as opposed to annotateImage().