I'm trying to get ImageMagick working under JNIWrapper, however I don't know how to debug what it is I am doing wrong. The message I get is:
magick/constitute.c:329: failed assertion `image_info->signature == MagickSignature'
Which I understand to mean that my structure doesn't match the structure of image_info. But I have no idea if it's a really in image_info, or in one of the structures inside of image_info (there are several). Any ideas on how to get past this?
I'd also like to see more example code or largers non-operating system libraries. For example in image_info the is a FILE * which I don't know how to map in the structure.. I used a Pointer for now.. at least until I can get past the assert.
Any help/ideas?
Thanks,
Barrie
Hi Barrie
You can trying to generate code for image_info structure using our Code Generator for JNIWrapper. This utility allows to simplify such tasks.
For more information about the Code Generator read: http://www.teamdev.com/downloads/jniwrapper/docs/JNIWrapper-PGuide.html#Code_Generation_Utility
Please try this and let us know the results.
Sincerely,
Igor Novikov
Message was edited by: Administrator