Delete a color separation.
cups_cmyk_t * Color separation
Do a black separation...
const cups_cmyk_t * Color separation
const unsigned char * Input grayscale pixels
short * Output Device-N pixels
int Number of pixels
Do a CMYK separation...
const cups_cmyk_t * Color separation
const unsigned char * Input grayscale pixels
short * Output Device-N pixels
int Number of pixels
Do a grayscale separation...
const cups_cmyk_t * Color separation
const unsigned char * Input grayscale pixels
short * Output Device-N pixels
int Number of pixels
Do an sRGB separation...
const cups_cmyk_t * Color separation
const unsigned char * Input grayscale pixels
short * Output Device-N pixels
int Number of pixels
CMYK color separation cups_cmyk_t * Load a CMYK color profile from PPD attributes. ppd_file_t *PPD file const char *ColorModel value const char *MediaType value const char *Resolution value
New CMYK separation or NULL cups_cmyk_t * Create a new CMYK color separation. int Number of color components
Set the transition range for CMY to black.
cups_cmyk_t * CMYK color separation
float No black ink
float Only black ink
Set a color transform curve using points.
cups_cmyk_t * CMYK color separation
int Color channel
int Number of X,Y points
const float * X,Y points
Set a color transform curve using gamma and density.
cups_cmyk_t * CMYK color separation
int Ink channel
float Gamma correction
float Maximum density
Set the limit on the amount of ink.
cups_cmyk_t * CMYK color separation
float Limit of ink
Set light/dark ink transforms.
cups_cmyk_t * CMYK color separation
int Dark ink channel (+1 for light)
float Light ink only level
float Dark ink only level
1 if they match int Check to see if all bytes are zero. const unsigned char *Bytes to check int Number of bytes to check
1 if they match int Check to see if all bytes match the given value. const unsigned char *Bytes to check int Number of bytes to check const unsigned char Value to check
Free a dithering buffer.

Returns 0 on success, -1 on failure.
cups_dither_t * Dithering buffer
Dither a line of pixels...
cups_dither_t * Dither data
const cups_lut_t * Lookup table
const short * Separation data
int Number of components
unsigned char * Pixels
New state array cups_dither_t * Create an error-diffusion dithering buffer. int Width of output in pixels
Matching attribute or NULL ppd_attr_t * Find a PPD attribute based on the colormodel, media, and resolution. ppd_file_t *PPD file const char *Attribute name const char *Color model const char *Media type const char *Resolution char *Final selection string int Size of string buffer
Free the memory used by a lookup table.
cups_lut_t * Lookup table to free
New lookup table cups_lut_t * Load a LUT from a PPD file. ppd_file_t *PPD file const char *Color model const char *Media type const char *Resolution const char *Ink name
New lookup table cups_lut_t * Make a lookup table from a list of pixel values. Returns a pointer to the lookup table on success, NULL on failure. int Number of values const float *Lookup table values
Pack pixels horizontally...
const unsigned char * Input pixels
unsigned char * Output bytes
int Number of pixels
const unsigned char Initial value of bytes
const int Step value between pixels
Pack 2-bit pixels horizontally...
const unsigned char * Input pixels
unsigned char * Output bytes
int Number of pixels
const int Stepping value
Pack pixels horizontally by bit...
const unsigned char * Input pixels
unsigned char * Output bytes
int Number of pixels
const unsigned char Initial value of bytes
const unsigned char Bit to check
Pack pixels vertically...
const unsigned char * Input pixels
unsigned char * Output bytes
int Number of input pixels
const unsigned char Output bit
const int Number of bytes between columns
Delete a color separation.
cups_rgb_t * Color separation
Do a grayscale separation...
cups_rgb_t * Color separation
const unsigned char * Input grayscale pixels
unsigned char * Output Device-N pixels
int Number of pixels
Do a RGB separation...
cups_rgb_t * Color separation
const unsigned char * Input RGB pixels
unsigned char * Output Device-N pixels
int Number of pixels
New color profile cups_rgb_t * Load a RGB color profile from a PPD file. ppd_file_t *PPD file const char *Color model const char *Media type const char *Resolution
New color separation or NULL cups_rgb_t * Create a new RGB color separation. int Number of samples cups_sample_t *Samples int Size of LUT cube int Number of color components
Simple CMYK lookup table
unsigned char Black generation LUT
short * Lookup tables
unsigned char Color removal LUT
int Ink limit
int Number of components
Simple CMYK lookup table
struct cups_cmyk_s
Dithering State
int Error values
int Current row
int Width of buffer
Dithering State
struct cups_dither_s
Lookup Table for Dithering
int Error from desired value
short Adjusted intensity
short Output pixel value
Lookup Table for Dithering
struct cups_lut_s
Color separation lookup table
unsigned char Cached black (sRGB = 0,0,0)
int Are cached values initialized?
unsigned char **** 4-D array of sample values
int Index into cube for a given sRGB value
int Multiplier value for a given sRGB value
int Size of color cube (2-N) on a side
int Number of colors per sample
unsigned char Cached white (sRGB = 255,255,255)
Color separation lookup table
struct cups_rgb_s
Color sample point
unsigned char Color values
unsigned char sRGB values
Color sample point
struct cups_sample_s
extern const unsigned char sRGB gamma lookup table (inverted) Prototypes... Attribute function... Byte checking functions... Dithering functions... Lookup table functions for dithering... Bit packing functions... Color separation functions... CMYK separation functions... Convenience macro for writing print data...
extern const unsigned char sRGB gamma lookup table