On 06/24/2014 04:01 PM, Nicolas Montgermont via GEM-dev wrote:
However if I use pix_image in Gem it says it loads the image but the
good.
square stays white.
bad.
I am sure I use magick plugin because I've removed all the other gem_image*.so and Gem says: GEM: image loading support: magick GEM: image saving support: magick How can I do to debug that?
the first thing i would try is to put a [pix_info] after the [pix_image] and see what it tells you.
and see my reply to dan in this thread.
ObjectiveC++ is the way to go. (you need C++ to make Gem recognize the plugin; you can use ObjC to properly interact with the AVFoundation Framework)
but who is going to implement it?
good question :) Does this mean there must be 3 files ( like in imageMagick without magick++) imageAV.cpp and imageAV.h to make the link with Gem AVcore.m to read/ write the picture using AV-kit framework?
there only *must* be a single file: the implementation-file (the header-files are kept separate for good style :-)
imageMAGICK/ is somewhat special as it allows to be compiled with two different backends (Magick++ and MagickCore).
the file-layout most likely would look like: imageAV/ imageAV.h imageAV.mm
(.mm is the extension for ObjC++)
gfsdr IOhannes