Does GraphicsMagick encapsulate littlecms functionality?

Patrick Noffke <[email protected]> Wed, 19 Jun 2013 14:36:43 -0500
Newsgroups gmane.comp.video.graphicsmagick.core,gmane.comp.video.graphicsmagick.apis
Message-ID <CAEcCGpDsVk5LGutvg-6UTdUNV+yD6rS5=ySZs-wG1xCHqo3p5Q@mail.gmail.com>
Hi,

I'm interested in adding support to Octave for doing color transforms,
and my first thought was to directly use the littlecms library.  But
it was suggested that, since we use GraphicsMagick (Magick++) in
Octave's image package, and it appears GM has some support for at
least loading ICC profiles, it might make sense to use GM to do the
color transforms.

Do you encapsulate any of the functions from littlecms in a class or
other API within GM?  If so, could you please give me an idea what
files to look in?

Since we have an indirect dependency on littlecms through GM, it might
just be easier to use littlecms directly, but I wanted to ask here to
make sure I wasn't reinventing any wheels.

I'm interested in adding functionality to load ICC profiles into a
structure within Octave, and pass that structure down to functions (to
be written) for applying color transforms.  These will operate mostly
on images, but can be used for any data from within Octave.  In other
words, if any API is tied to an image within GM, it might be difficult
to use in Octave.

If there is a more appropriate list, please let me know.

Thanks,
Patrick

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev