Currently I'm working on a C application which makes an *.jpg file from a pixelarray. This has nothing to do with ImageMagick.
After the *.jpg file is created I start a Bash script which uses the "convert" from ImageMagick to draw a text on that image. Is it possible to include a ImageMagick Library which has a correspondat function which can draw text directly in my C application? So instead of calling a command line tool it would be done completely inside the application...
Library function to draw text on image
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Library function to draw text on image
See the C API at http://www.imagemagick.org/script/api.php. Sorry I know little more than that.
Re: Library function to draw text on image
ok, but is there an example for the draw text part I want to use?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Library function to draw text on image
Sorry, I do not use any API, so cannot help on that regard. Read any documentation listed on that link. That is the best I can suggest.