How to find text length in pixels?
Posted: 2012-06-07T06:24:51-07:00
Hi,
Need help with the following:
1.
I need to convert the following string to a bmp image:
"Hello World".
The spacing between the words "Hello" and "World" needs to be 20 pixels. How do I accomplish this spacing using MagickWand?
2.
I need to display the text "Hello" with the rightmost end at a distance of 20 pixels from the right edge of the image. Any ideas on how to do this using MagickWand?
Thanks!
Cathy.
Need help with the following:
1.
I need to convert the following string to a bmp image:
"Hello World".
The spacing between the words "Hello" and "World" needs to be 20 pixels. How do I accomplish this spacing using MagickWand?
2.
I need to display the text "Hello" with the rightmost end at a distance of 20 pixels from the right edge of the image. Any ideas on how to do this using MagickWand?
Thanks!
Cathy.