Path: newssvr12.news.prodigy.com!newssvr11.news.prodigy.com!newscon07.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!newsfeed.telusplanet.net!newsfeed.bc.tac.net!cyclone.bc.net!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: hoffmann@fho-emden.de (Gernot Hoffmann) Newsgroups: comp.graphics.algorithms Subject: Re: CMYK to GrayScale Conversion ? Date: 5 Dec 2002 11:39:26 -0800 Organization: http://groups.google.com/ Lines: 41 Message-ID: References: <480936aa.0212042137.44ced98@posting.google.com> NNTP-Posting-Host: 194.221.231.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1039117166 12686 127.0.0.1 (5 Dec 2002 19:39:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 5 Dec 2002 19:39:26 GMT Xref: newsmst01.news.prodigy.com comp.graphics.algorithms:141877 vishak@postmark.net (Vishak) wrote in message news:<480936aa.0212042137.44ced98@posting.google.com>... > I am in the look out for the equation (/algorithm)to convert CMYK to GrayScale. > Any sort of pointers, sample code is highly appriciated. > > Thanks in Advance, > > Vishak. Warning: In one of the posts you will find this link: http://www.easyrgb.com/math.html Donīt believe the wisdom there. a) CMYK to CMY depends on the UCR/GCR mode. (Undercolor Removal, Gray Component Replacement) This is the strategy, how much of the common value of C,M,Y is replaced by K. b) The so called dot gain is not taken into account. This says: use lower CMYK numbers because the dot becomes larger on the paper. c) CMY to RGB depends on gamut compression, gamut clipping, RGB primaries definition, white point definition. RGB - CMY - RGB is NOT reversible. The naive formula R=1-C and so on is wrong. d) Inverse Gamma distortion for the monitor is not taken into account. If the CMYK has an embedded profile, then the conversion is better, but very complex. A Google search "CMYK RGB" shows immediately, how difficult this problem is. Perhaps "Little Color Management" can help further ... Best regards --Gernot Hoffmann