Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi CMYK -> RGB (https://www.delphipraxis.net/87980-cmyk-rgb.html)

Alex_ITA01 8. Mär 2007 12:45


CMYK -> RGB
 
Hallo erstmal,
ich habe folgendes Problem:
Ich möchte eine CMYK Farbe in hex RGB umwandeln, dass ich sie einer Komponente in TColor zuweisen kann.
Ich habe den Wert: 0 - 0 - 0 - 100
Dieser entspricht genau Schwarz. Jetzt möchte ich als Ergebnis aber $000000 bekommen weil das auch schwarz ist.

Ich habe den Wert: 0 - 0 - 0 - 0
Dieser entspricht genau Weiss. Jetzt möchte ich als Ergebnis aber $FFFFFF bekommen weil das auch weiss ist.

Ich hoffe ihr könnt mir da helfen.

MFG Alex

CK_CK 8. Mär 2007 12:47

Re: CMYK -> RGB
 
Hi!
Hilft dir das hier?
> KLICK MICH

Chris

EDIT: Das hier hilft auf jeden Fall: [KLICK]

himitsu 8. Mär 2007 12:48

Re: CMYK -> RGB
 
Liste der Anhänge anzeigen (Anzahl: 1)
ich mach es mir jetzt mal einfach :stupid:

[edit]
OK, oder so :lol:

TeronG 8. Mär 2007 12:50

Re: CMYK -> RGB
 
Aus der windows.pas:
Delphi-Quellcode:
function CMYK(c, m, y, k: Byte): COLORREF;

Alex_ITA01 8. Mär 2007 12:52

Re: CMYK -> RGB
 
Ok, Danke :-)


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:26 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz