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
intNumber of pixels
Do a CMYK separation...const cups_cmyk_t *Color separation
const unsigned char *Input grayscale pixels
short *Output Device-N pixels
intNumber of pixels
Do a grayscale separation...const cups_cmyk_t *Color separation
const unsigned char *Input grayscale pixels
short *Output Device-N pixels
intNumber of pixels
Do an sRGB separation...const cups_cmyk_t *Color separation
const unsigned char *Input grayscale pixels
short *Output Device-N pixels
intNumber of pixels
CMYK color separationcups_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 NULLcups_cmyk_t
*
Create a new CMYK color separation.intNumber of color components
Set the transition range for CMY to black.cups_cmyk_t *CMYK color separation
floatNo black ink
floatOnly black ink
Set a color transform curve using points.cups_cmyk_t *CMYK color separation
intColor channel
intNumber of X,Y points
const float *X,Y points
Set a color transform curve using gamma and density.cups_cmyk_t *CMYK color separation
intInk channel
floatGamma correction
floatMaximum density
Set the limit on the amount of ink.cups_cmyk_t *CMYK color separation
floatLimit of ink
Set light/dark ink transforms.cups_cmyk_t *CMYK color separation
intDark ink channel (+1 for light)
floatLight ink only level
floatDark ink only level
1 if they matchint
Check to see if all bytes are zero.const unsigned char *Bytes to check
intNumber of bytes to check
1 if they matchint
Check to see if all bytes match the given value.const unsigned char *Bytes to check
intNumber of bytes to check
const unsigned charValue 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
intNumber of components
unsigned char *Pixels
New state arraycups_dither_t
*
Create an error-diffusion dithering buffer.intWidth of output in pixels
Matching attribute or NULLppd_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
intSize of string buffer
Free the memory used by a lookup table.cups_lut_t *Lookup table to free
New lookup tablecups_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 tablecups_lut_t
*
Make a lookup table from a list of pixel values.
Returns a pointer to the lookup table on success, NULL on failure.intNumber of values
const float *Lookup table values
Pack pixels horizontally...const unsigned char *Input pixels
unsigned char *Output bytes
intNumber of pixels
const unsigned charInitial value of bytes
const intStep value between pixels
Pack 2-bit pixels horizontally...const unsigned char *Input pixels
unsigned char *Output bytes
intNumber of pixels
const intStepping value
Pack pixels horizontally by bit...const unsigned char *Input pixels
unsigned char *Output bytes
intNumber of pixels
const unsigned charInitial value of bytes
const unsigned charBit to check
Pack pixels vertically...const unsigned char *Input pixels
unsigned char *Output bytes
intNumber of input pixels
const unsigned charOutput bit
const intNumber 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
intNumber of pixels
Do a RGB separation...cups_rgb_t *Color separation
const unsigned char *Input RGB pixels
unsigned char *Output Device-N pixels
intNumber of pixels
New color profilecups_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 NULLcups_rgb_t
*
Create a new RGB color separation.intNumber of samples
cups_sample_t *Samples
intSize of LUT cube
intNumber of color components
Simple CMYK lookup tableunsigned charBlack generation LUT
short *Lookup tables
unsigned charColor removal LUT
intInk limit
intNumber of components
Simple CMYK lookup tablestruct
cups_cmyk_s
Dithering StateintError values
intCurrent row
intWidth of buffer
Dithering Statestruct
cups_dither_s
Lookup Table for DitheringintError from desired value
shortAdjusted intensity
shortOutput pixel value
Lookup Table for Ditheringstruct
cups_lut_s
Color separation lookup tableunsigned charCached black (sRGB = 0,0,0)
intAre cached values initialized?
unsigned char ****4-D array of sample values
intIndex into cube for a given sRGB value
intMultiplier value for a given sRGB value
intSize of color cube (2-N) on a side
intNumber of colors per sample
unsigned charCached white (sRGB = 255,255,255)
Color separation lookup tablestruct
cups_rgb_s
Color sample pointunsigned charColor values
unsigned charsRGB values
Color sample pointstruct
cups_sample_s
extern const unsigned charsRGB 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 charsRGB gamma lookup table