Search found 4 matches

by chris_andsomenumbers
2014-01-03T11:07:48-07:00
Forum: MagickWand
Topic: Test if MagickWandGenesis() or MagickWandTerminus() called
Replies: 6
Views: 19270

Re: Test if MagickWandGenesis() or MagickWandTerminus() call

Ok, I just installed ImageMagick 6.8.8-1 from source. I gave this block of code a shot: MagickWandGenesis(); const gchar * testing = MagickGetVersion(NULL); g_printf("%s", testing); g_assert(IsMagickInstantiated()); ...and I got the same result: ERROR:photo_strip.c:88:dmp_pb_photo_strip_in...
by chris_andsomenumbers
2014-01-02T15:45:18-07:00
Forum: MagickWand
Topic: Test if MagickWandGenesis() or MagickWandTerminus() called
Replies: 6
Views: 19270

Re: Test if MagickWandGenesis() or MagickWandTerminus() call

Well, I just tried to run my app using IsMagickInstantiated(), and I'm having some more issues. No matter what, IsMagickInstantiated always returns 0. So, if I do this: MagickWandGenesis(); g_assert(IsMagickInstantiated()); I get an assertion failure: ERROR:photo_strip.c:84:dmp_pb_photo_strip_init: ...
by chris_andsomenumbers
2014-01-02T15:10:54-07:00
Forum: MagickWand
Topic: Test if MagickWandGenesis() or MagickWandTerminus() called
Replies: 6
Views: 19270

Re: Test if MagickWandGenesis() or MagickWandTerminus() call

That would seem to be exactly what I'm looking for! Thank you for the quick reply!

That said, I can't find that function anywhere in the API documentation I've been using. (http://www.imagemagick.org/script/magick-wand.php) Is there some extra documentation somewhere that I missed?
by chris_andsomenumbers
2014-01-02T10:42:34-07:00
Forum: MagickWand
Topic: Test if MagickWandGenesis() or MagickWandTerminus() called
Replies: 6
Views: 19270

Test if MagickWandGenesis() or MagickWandTerminus() called

Hi. I can't seem to find any method of testing if Genesis or Terminus have been called. Do functions that test this exist? I'm developing an application that uses MagickWand. It calls genesis and terminus in main, so this isn't a problem within my application. However, my application takes plugins t...