CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 1999
    Posts
    2

    How to convert RGB to CMYK color?

    Thanks for reading my trash...

    If you know how to convert RGB color to CMYK color, please let me know that precious how-to.



  2. #2
    Join Date
    Apr 1999
    Posts
    45

    Re: How to convert RGB to CMYK color?

    I hope this table makes sense..........

    ............R..........G...........B
    C..........0.........255.........255
    M........255.........0..........255
    Y.........255.......255...........0
    K...........0...........0............0





  3. #3
    Join Date
    Apr 1999
    Posts
    2

    Re: [To Sean]How to convert RGB to CMYK color?

    Thanks a lot Sean.

    Your advice is correct in theory.
    What I need is practical conversion formula in printing using CMYK Inks. For example, commercial graphic softwares like photoshop are using very complex conversion math, which I wanna know.

    Anyway, thanks for your kind advice and I truely appreciate it.

    I hope I can help you in the future shortly.


    Young... :-)


  4. #4
    Join Date
    Mar 2001
    Location
    UK
    Posts
    14

    Re: How to convert RGB to CMYK color?

    Does this mean
    Cyan = Green + Blue, no Red
    Magenta = Reg + Blue, no Green
    Yellow = Red + Green, noBlue
    And whatever K is is nothing...
    Im confused?


  5. #5
    Join Date
    Sep 2001
    Posts
    512

    Re: How to convert RGB to CMYK color?

    Yes and K is nothing as it is black

    Hope this helps
    Hope this helps

  6. #6
    Join Date
    Mar 2001
    Location
    Singapore
    Posts
    57

    Re: How to convert RGB to CMYK color?

    Cyan = 255 - Red
    Magenta = 255 - Green
    Yellow = 255 - Blue
    Black = Min (Red, Green, Blue)

    Converting back to displayable colour (unlike Photoshop which after conversion,
    still looks very much the same, this part i am not quite sure, rem read from
    some where)

    new Red = ((Cyan-Black) * 255) / ( 255 - Black )
    repeat for the other two channel

    hope this helps


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured