Re: Convert CMYK values to RGB values?

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

 



Have you looked here?

http://www.google.com/custom?domains=www.phpclasses.org&q=cmyk+to+rgb&sa=Search&sitesearch=www.phpclasses.org&client=pub-2951707118576741&forid=1&channel=5742870948&ie=ISO-8859-1&oe=ISO-8859-1&cof=GALT%3A%23663399%3BGL%3A1%3BDIV%3A%23222222%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AA3C5CC%3BLBGC%3AA3C5CC%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BLH%3A50%3BLW%3A256%3BL%3Ahttp%3A%2F%2Ffiles.phpclasses.org%2Fgraphics%2Fgooglesearch.jpg%3BS%3Ahttp%3A%2F%2Fwww.phpclasses.org%2Fsearch.html%3BFORID%3A1%3B&hl=en

Without looking at any of their code, I do notice that some class
descriptions look promising.

John Corry

On Fri, Jan 9, 2009 at 8:03 PM, Shawn McKenzie <nospam@xxxxxxxxxxxxx> wrote:
> ceo@xxxxxxxxx wrote:
>> Short Answer:
>>
>> You can't.
>> :-)
>>
>> http://en.wikipedia.org/wiki/CMYK
>>
>> Long Answer:
>> You probably can, but not in some way that makes sense to discuss here on PHP-general.
>>
>> The external links in the above article should get you started.
>>
>
> May not always come out with the best colors, but the rough formula is:
>
> Black   = minimum(1-Red,1-Green,1-Blue)
> Cyan    = (1-Red-Black)/(1-Black)
> Magenta = (1-Green-Black)/(1-Black)
> Yellow  = (1-Blue-Black)/(1-Black)
>
> Write your own little functions to convert.
>
> --
> Thanks!
> -Shawn
> http://www.spidean.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux