clut in C++ API

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

clut in C++ API

Post 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).
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: clut in C++ API

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
graham
Posts: 5
Joined: 2011-04-01T06:34:35-07:00
Authentication code: 8675308

Re: clut in C++ API

Post 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
Post Reply