| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2005.09.21 16:36 "Re: Parse image into YCbCr data", by Bob FriesenhahnOn Wed, 21 Sep 2005, Philip Watkinson wrote: > > Is there an algorithm to convert from CMYK to RGB and vice versa? CMY is the inverse of RGB so the algorithm is quite straightforward. Unfortunately, the straightforward algorithm is almost completely worthless because CMYK is used to describe the behavior of some batch of inks printed on some kind of paper using some sort of printer so there are a million varieties of "CMYK". I recommend looking at using CMS color profiles and a library like LCMS (http://www.littlecms.com/) to convert between CMYK and RGB. Bob ====================================== Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ |
|||||||