GraphicsMagick adding Hald CLUT support

Bob Friesenhahn <[email protected]> Sat, 6 Jun 2009 18:38:19 -0500 (CDT)
Newsgroups gmane.comp.video.graphicsmagick.tools
Message-ID <[email protected]>
Today, development GraphicsMagick gained Hald CLUT support (see 
http://www.quelsolaar.com/technology/clut.html for overview) which is really 
simple and really cool.  The 'convert' and 'mogrify' commands now support a 
-hald-clut option.

This is a community-supported project.  It was partly funded by Cedric Lejeune 
of workflowers.net, with most of the work done by Clement Follet based on code 
from Eskil Steenberg's HaldCLUT sample programs.

As an example of the new functionality

   gm convert identity:10 -negate negate-clut.png
   gm convert somefile.jpg -hald-clut negate-clut.png negated.jpg

In the above, "identity:10" produces a Hald CLUT identity image of order 10 
(1000x1000 or 1,000,000 colors).  The -negate applies a 'negate' transform on 
the identity CLUT before saving it.  Then we use the resulting negate-clut.png 
to replicate the function of -negate, but using the CLUT.  Of course 
sophisticated users will want to use this functionality for much more complex 
adjustments than negation. Photoshop or any other image editing software may be 
used to adjust a Hald Identity CLUT so it may be used for any color correction 
task.

Testers are needed.  The latest snapshot version may be downloaded from 
"ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/snapshots". Please report any 
bugs.

Bob
--
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get