Re: CMYK palette info from Photoshop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 4/1/07, Chris Mohler <cr33dog@xxxxxxxxx> wrote:
On 3/31/07, Hal V. Engel <hvengel@xxxxxxxxxxx> 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.


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux