Path: utzoo!attcan!darkover!nebulus!druid!darcy From: darcy@druid.uucp (D'Arcy J.M. Cain) Newsgroups: comp.graphics Subject: Re: RGB ---> YMCK Message-ID: <1990Feb8.233748.11508@druid.uucp> Date: 8 Feb 90 23:37:48 GMT References: <1990Feb7.220805.27260@allgfx.agi.oz> Reply-To: darcy@druid.UUCP (D'Arcy J.M. Cain) Organization: D'Arcy Cain Consulting, West Hill, Ontario Lines: 25 In article <1990Feb7.220805.27260@allgfx.agi.oz> cn@allgfx.agi.oz (Con Neri) writes: >Does anybody know of the proper conversions to produce > 1) YMCK color images from RGB images. > 2) RGB images from YMCK images. > >Any help with the above will be much appreciated. Please e-mail your reply or >post into this newsgroup, I will summarise if there are enough replies. > given that the colours range from 0 to 255: Cyan is 255 - red Magenta is 255 - green Yellow is 255 - blue This will give the primary subtractive colours. To include black, subtract the lowest of the CMY values from each (making at least one of them 0) and the subtracted value is the black component. The reverse should be obvious. -- D'Arcy J.M. Cain (darcy@druid) | Thank goodness we don't get all D'Arcy Cain Consulting | the government we pay for. West Hill, Ontario, Canada | (416) 281-6094 |