Solved

How do you convert from RGB to CMYK?

Posted on 2002-07-28
5
763 Views
Last Modified: 2010-04-04
i am working on an image processor and need to now how to convert RGB values to CMYK . . .

thanks, cdbsi
0
Comment
Question by:cdbsi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 3

Accepted Solution

by:
LukA_YJK earned 20 total points
ID: 7184814
Quote from Windows.pas
{ functions to retrieve CMYK values from a COLORREF }

{$EXTERNALSYM GetCValue}
function GetCValue(cmyk: COLORREF): Byte;
{$EXTERNALSYM GetMValue}
function GetMValue(cmyk: COLORREF): Byte;
{$EXTERNALSYM GetYValue}
function GetYValue(cmyk: COLORREF): Byte;
{$EXTERNALSYM GetKValue}
function GetKValue(cmyk: COLORREF): Byte;
{$EXTERNALSYM CMYK}
function CMYK(c, m, y, k: Byte): COLORREF;

Hope it will help...
0
 
LVL 5

Expert Comment

by:alanwhincup
ID: 7184941
0
 

Expert Comment

by:CleanupPing
ID: 9342974
cdbsi:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 5

Expert Comment

by:snehanshu
ID: 9966080
Hi!
No comment has been added lately and this question is therefore classified abandoned.

If asker wishes to close the question, then refer to
http://www.experts-exchange.com/help/closing.jsp

Otherwise, I will leave a recommendation in the Cleanup topic area that this question is:

Answered by: LukA_YJK

Please leave any comments here within the next seven days. It is assumed that any participant not responding to this request is no longer interested in its final disposition.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

...Snehanshu
EE Cleanup Volunteer
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question