You are here:

C++/Changing color shceme.


I need to know how to change the RGB color scheme to CMYK color by using visual c++ 6 and GDI.

I need to draw objects using both color schemee.  

Yasanka , Thank you for your question.

Windows GDI does not support any color model other than RGB. GDI is a base technology not intended to serve all purposes.

I believe you will either have to write CMYK separation functions yourself, or buy them as an API library.

David Spector


All Answers

Answers by Expert:

Ask Experts


David Spector


Highly knowledgeable in the C++ language, Visual C++ (MSVC), Windows API, documentation and other quality-assurance techniques, and debugging. Knowledgeable in MFC, COM, GUI design, and object-oriented design.


I have been a software engineer since 1965. I have been published. My specializations have been: biomedical programming, compiler implementation, and many kinds of Windows programming. I don't do Databases or other business-oriented stuff.

Windows?/DOS Developer's Journal, ACM SIGPLAN Notices, and Computer Science Press.

ICCP Systems Programming Certification
Master's degree equivalent in Computer Science

©2016 All rights reserved.