Bsoft function

img_CMYK_to_RGB

Source:

src/img/img_colour.c

Description:

Converts a CMYK image to a RGB image.

Algorithm:

	red   = 1 - minimum(1, cyan*(1 - black) + black)

green = 1 - minimum(1, magenta*(1 - black) + black)
blue = 1 -minimum(1, yellow*(1 - black) + black)

Arguments:

Bimage* pimage.

Returns:

int 0.

Prototype:

int img_CMYK_to_RGB(Bimage* p)

Functions used:

CMYK_to_RGB
balloc
bfree

Other objects included:

struct Bimage


Generated by bdoc.pl on Mon Jun 15 11:47:26 2009


Back to the Bsoft home