AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
September 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.09.20 09:15 "Parse image into YCbCr data", by Katrina Maramba
2005.09.20 10:59 "Re: Parse image into YCbCr data", by Joris Van Damme
2005.09.21 16:06 "Re: Parse image into YCbCr data", by Philip Watkinson
2005.09.21 16:36 "Re: Parse image into YCbCr data", by Bob Friesenhahn

2005.09.21 16:36 "Re: Parse image into YCbCr data", by Bob Friesenhahn

On 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/