Navigation

Search

Categories

On this page

Archive

Blogroll

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

RSS 2.0 | Atom 1.0 | CDF

Send mail to the author(s) E-mail

Total Posts: 291
This Year: 0
This Month: 0
This Week: 0
Comments: 0

Sign In
Pick a theme:

# Saturday, May 24, 2008
Saturday, May 24, 2008 11:50:18 AM (GTB Daylight Time, UTC+03:00) ( Image Processing )

Online conversion

http://web.forret.com/tools/color.asp?R=100&G=0&B=255

 

codeproject

http://www.codeproject.com/KB/applications/xcmyk.aspx

http://www.codeproject.com/KB/GDI-plus/colorclass.aspx

http://www.codeproject.com/KB/cpp/adobe_cp_clone_part_1.aspx

 

tutorial

http://www.maxostudio.com/Tut_CS_CMYK.cfm

 

wikipedia

http://en.wikipedia.org/wiki/CMYK_color_model

 

RGB->CMY->CMYK conversion

http://www.easyrgb.com/math.php?MATH=M13#text13

 

Sample source

//RGB values = 0 ÷ 255

//CMY values = 0 ÷ 1

 

C = 1 - ( R / 255 )

M = 1 - ( G / 255 )

Y = 1 - ( B / 255 )

 

//Where CMYK and CMY values = 0 ÷ 1

 

var_K = 1

 

if ( C < var_K ) var_K = C

if ( M < var_K ) var_K = M

if ( Y < var_K ) var_K = Y

if ( var_K == 1 ) { //Black

C = 0

M = 0

Y = 0

}

else {

C = ( C - var_K ) / ( 1 - var_K )

M = ( M - var_K ) / ( 1 - var_K )

Y = ( Y - var_K ) / ( 1 - var_K )

}

K = var_K

All comments require the approval of the site owner before being displayed.
OpenID
Please login with either your OpenID above, or your details below.
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview