PANDORE Version 6 | GREYC-IMAGE |
L'opérateur pcmyk2rgb permet de changer d'espace couleur de l'espace Cyan, Magenta, Yellow, Key, vers l'espace Rouge-Vert-Bleu
La conversion procède selon l'algorithme suivant:
The red (R) color is calculated from the cyan (C) and black (K) colors:
R = 255 * (1-C/255) * (1-K/255)
The green color (G) is calculated from the magenta (M) and black (K) colors:
G = 255 * (1-M/255) * (1-K/255)
The blue color (B) is calculated from the yellow (Y) and black (K) colors:
B = 255 * (1-Y/255) * (1-K/255)
Retourne SUCCESS ou FAILURE.
Convertit butterfly.pan de rgb en cmyk, puis de cmyk en rgb:
prgb2cmyk butterfly.pan a.pan pcmyk2rgb a.pan b.pan
Auteur: Régis Clouard