Search found 4 matches

by cicada
2012-06-07T06:24:51-07:00
Forum: MagickWand
Topic: How to find text length in pixels?
Replies: 2
Views: 17928

How to find text length in pixels?

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 "Hel...
by cicada
2012-06-07T06:19:57-07:00
Forum: MagickWand
Topic: Text to bmp image using MagikWand
Replies: 3
Views: 15107

Re: Text to bmp image using MagikWand

Never mind, found what I was looking for here: http://members.shaw.ca/el.supremo/MagickWand/.
by cicada
2012-06-07T01:47:48-07:00
Forum: MagickWand
Topic: Text to bmp image using MagikWand
Replies: 3
Views: 15107

Re: Text to bmp image using MagikWand

To further elaborate, what's the MagikWand code equivalent of the ImageMagik cli command:
"convert -pointsize 12 -font Arial label:HelloWorld hello.bmp"
by cicada
2012-06-07T00:43:45-07:00
Forum: MagickWand
Topic: Text to bmp image using MagikWand
Replies: 3
Views: 15107

Text to bmp image using MagikWand

Hi,

How do I use MagikWand's C API to convert a string like "Hello World" into a bmp image? Also need to prescribe font (Arial) and size.

Also, any way to position the text at a specified position on the bitmap?

Thanks!
C.