Search found 36 matches
- 2011-11-19T17:53:41-07:00
- Forum: MagickWand
- Topic: How to add a shadow to an image ?
- Replies: 6
- Views: 24737
How to add a shadow to an image ?
I'm trying to write a function that adds a shadow to an image but it doesn't work. Here is my code. The program crashes at the call of the MagickMergeImageLayers. Any help ? Thanks. void magickShadow (char * filename) { MagickWandGenesis(); MagickWand * pic = NewMagickWand(); MagickReadImage(pic,fil...
- 2011-11-12T23:30:59-07:00
- Forum: Magick++
- Topic: Problem with annotate and drawing text functions
- Replies: 4
- Views: 16335
Re: Problem with annotate and drawing text functions
I have to precise that when I used the full path name the first time, I haven't used the fillcolor function.
That's what it didn't work.
Using both makes the text appear.
That's what it didn't work.
Using both makes the text appear.
- 2011-11-12T17:26:02-07:00
- Forum: Magick++
- Topic: Problem with annotate and drawing text functions
- Replies: 4
- Views: 16335
Re: Problem with annotate and drawing text functions
I finally found the problem...
I needed to specify the full path for the font file.
I needed to specify the full path for the font file.
Code: Select all
monimage.font("@c:\\windows\\fonts\\Arial.ttf");
- 2011-11-12T00:34:40-07:00
- Forum: Magick++
- Topic: Problem with annotate and drawing text functions
- Replies: 4
- Views: 16335
Re: Problem with annotate and drawing text functions
no idea please ?
- 2011-11-01T06:06:57-07:00
- Forum: Magick++
- Topic: Problem with annotate and drawing text functions
- Replies: 4
- Views: 16335
Re: Problem with annotate and drawing text functions
Here is an example of the code I used. The texts are not displayed while the rectangle is displayed. I have also tried the following for the font name without success : @arial.ttf, @c:\\windows\\font\\arial.ttf, helvetica. Please help. Image monimage("test.jpg"); // Draw a text with annota...
- 2011-10-31T07:52:17-07:00
- Forum: Magick++
- Topic: Problem with annotate and drawing text functions
- Replies: 4
- Views: 16335
Problem with annotate and drawing text functions
Hi, I'm new with ImageMagick++. I'm using it with Visual Studio 2008 (C++) and Windows 7 64 bits. I have successed to compile it and to integrate it inside my application. I have tried some functions such as drawing a rectangle or a circle inside an image and it worked. However when I try to add a t...