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.
Text to bmp image using MagikWand
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"
"convert -pointsize 12 -font Arial label:HelloWorld hello.bmp"
Re: Text to bmp image using MagikWand
Never mind, found what I was looking for here: http://members.shaw.ca/el.supremo/MagickWand/.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Text to bmp image using MagikWand
Essentually apply the settings, then 'read' the "label:" image. IM treats it as a 'psuedo-filename' when reading images.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/