Search found 8 matches

by NetJohn
2016-10-02T10:33:47-07:00
Forum: Magick++
Topic: "convert"-type function in C++? (font to image)
Replies: 9
Views: 19173

Re: "convert"-type function in C++? (font to image)

I don't believe I was getting an uncaught exception, but since I stopped causing the issue, I haven't seen it recently and may not recall it correctly. I'll check again and throw a few try/catch around it to see if I can handle.

John
by NetJohn
2016-10-02T09:48:50-07:00
Forum: Magick++
Topic: "convert"-type function in C++? (font to image)
Replies: 9
Views: 19173

Re: "convert"-type function in C++? (font to image)

Got things working... mostly. For those who are paying attention, my code is as follows: // Blank canvas to put text on Magick::Image * outimage = new Magick::Image(Magick::Geometry(mmw, mmh, 0, 0), Magick::Color("black")); // Values of mmw and mmh defined elsewhere previous // Other stuff done ...
by NetJohn
2016-10-02T09:37:59-07:00
Forum: Magick++
Topic: Magick++ for Visual Studio 2015 tutrial
Replies: 4
Views: 14843

Re: Magick++ for Visual Studio 2015 tutrial

You can't debug an IM-based program at all in VS C++, lots of bad things happen.

If there is a way, please let me know.

John
by NetJohn
2016-09-25T15:32:17-07:00
Forum: Magick++
Topic: "convert"-type function in C++? (font to image)
Replies: 9
Views: 19173

Re: "convert"-type function in C++? (font to image)

snibgo, Take a look here: http://www.imagemagick.org/Usage/fonts/ First item, it says to do the following: convert -size 320x100 xc:lightblue -font Candice -pointsize 72 \ -tile pattern:checkerboard -annotate +28+68 'Anthony' \ font_tile.jpg Looking to do that via the Magick++ library, there is no ...
by NetJohn
2016-09-24T23:02:49-07:00
Forum: Magick++
Topic: Installing Magick++ with Visual Studio 2015, Windows 7
Replies: 2
Views: 14862

Re: Installing Magick++ with Visual Studio 2015, Windows 7

Forgot something:

Under Configuration Properties --> Linker --> Input add the following to "Additional Dependencies:

Add:

CORE_RL_MagickCore_.lib
CORE_RL_Magick++_.lib
CORE_RL_MagickWand_.lib

John
by NetJohn
2016-09-24T21:47:51-07:00
Forum: Magick++
Topic: "convert"-type function in C++? (font to image)
Replies: 9
Views: 19173

Re: "convert"-type function in C++? (font to image)

fmw42, Thank you for your quick reply. I've been all throughout the Documentation and the API, and there is not anything similar to convert in the code. I have the Image class webpage up as a constant source of information. It covers pretty much everything else (and then some), but I didn't see ...
by NetJohn
2016-09-24T21:33:36-07:00
Forum: Magick++
Topic: "convert"-type function in C++? (font to image)
Replies: 9
Views: 19173

"convert"-type function in C++? (font to image)

I was looking at here: http://www.imagemagick.org/Usage/annotating/ Down in the "Watermarking with Text" section, it shows the use of the convert commandline tool to add text to an image. There doesn't seem to be a convert API, so I'm guessing this is a compilation of a lot of other stuff. Basically ...
by NetJohn
2016-09-24T21:07:33-07:00
Forum: Magick++
Topic: Installing Magick++ with Visual Studio 2015, Windows 7
Replies: 2
Views: 14862

Re: Installing Magick++ with Visual Studio 2015, Windows 7

Need to set up the includes and libraries in the build setup. In your solution explorer window (on the left), select your project, right click, select properties. Then, select Configuration Properties --> C/C++ --> General and add the include path to "Additional Include Directories" Then, select ...