MagickCommandGenesis Problem

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
normman
Posts: 2
Joined: 2011-07-25T16:49:47-07:00
Authentication code: 8675308

MagickCommandGenesis Problem

Post by normman »

Hello,
I'm trying to execute a command similar to "convert -threshold 90%" on my Linux box with a C program, compiled using gcc. I'm using the following code:

Code: Select all

#include <wand/MagickWand.h>
...
MagickCommandGenesis(wand->image_info,...)
and getting the error " error: dereferencing pointer to incomplete type".
I take it that using wand->image_info is incorrect in trying to access the ImageInfo* required for the first argument?
fulvio
Posts: 8
Joined: 2011-09-20T17:59:18-07:00
Authentication code: 8675308

Re: MagickCommandGenesis Problem

Post by fulvio »

Did you ever figure this out?
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: MagickCommandGenesis Problem

Post by el_supremo »

Try adding this include:

Code: Select all

#include <wand/magick-wand-private.h>
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
fulvio
Posts: 8
Joined: 2011-09-20T17:59:18-07:00
Authentication code: 8675308

Re: MagickCommandGenesis Problem

Post by fulvio »

Are you able to give me a hand with the following Objective-C code?

http://www.wizards-toolkit.org/discours ... 00d#p76653
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: MagickCommandGenesis Problem

Post by el_supremo »

It will probably be a week or two before I can look at it and even then, I've never used Objective C so I can't test anything.

Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
Post Reply