[Gimp-developer] CMYK palette info from Photoshop
David Gowers
00ai99 at gmail.com
Sat Mar 31 23:01:51 PDT 2007
On 4/1/07, Chris Mohler <cr33dog at gmail.com> wrote:
>
> On 3/31/07, Hal V. Engel <hvengel at astound.net> wrote:
> > You might consider using a color transform using ICC profiles. For
> example
> > you could use sRGB as your generic destination color space and perhaps a
> SWAP
> > profile for the CMYK side. Once you have selected your two profiles
> doing
> > the conversion is almost trivial using calls to lcms.
>
> Hal,
>
> Could you point me to an example? I see some functions in
> plug-ins/lcms, but have not figured out how to use them. Most seem to
> operate on drawables - I want to push CMYK number values into RGB.
Chris,
The lcms plugin is a different thing from the lcms library; GIMP's lcms
plugin just provides an interface to the lcms library (
http://www.littlecms.com/)
Try looking in the plugin to see how the plugin accesses LCMS, not to find
out what functions the plugin provides.
IIRC it basically just needs to know the input and output profiles, and be
provided pointers to source and destination buffers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /lists/gimp-developer/attachments/20070401/b66674d9/attachment.html
More information about the Gimp-developer
mailing list