Page 1 of 1

clut in C++ API

Posted: 2010-11-04T18:09:23-07:00
by fmw42
On the page at http://www.imagemagick.org/Magick++/Ima ... %20Methods, I don't see a clut method listed (though haldClut is listed)? Is a clut method available and just not listed or does it not exist. I don't find any method for it in Image.cpp in the Magick++ folder either.

Alternately, does the fx method allow the use of more than one input image?


(I am inquiring for a colleague on a project).

Re: clut in C++ API

Posted: 2010-11-18T17:56:53-07:00
by anthony
I don't know about C++. It probably is available, as a direct call to the library (rather than a MagickWand call).

As for FX. FX can only be applied to one image sequence. However in an API you can have, and typically use multiple image sequences that are completely separate to each other. It is only the Command line API that is limited to one image sequence only.

Re: clut in C++ API

Posted: 2011-04-01T06:43:25-07:00
by graham
Just call the underlying ImageMagick function like this:-

MagickCore::ClutImage(image->image(), clutimage->image());

with suitable alterations to the syntax depending on how the images have been created.

Graham