PDFlib Cookbook



blendmodeDemonstrate all blend modes which are available in PDF.
color_gradientFill some area or text with a smooth transition from one color to another.
colorAll_for_cropmarksCreate crop marks which will be visible on all color separations, using the special color "All".
colorize_image_with_DeviceN_colorCreate a DeviceN color space based on two Pantone spot colors to colorize a 2-channel image in raw format.

Define and use several DeviceN colors.

iccprofile_to_imageAssign an ICC profile to an image.
overprintDemonstrate overprint controls using CMYK and DeviceN colors or blend modes.
recombine_color_channelsColorize images and place all colorized images on top of each other.
softmaskCreate a soft mask based on arbitrary geometric objects.
spot_colorDefine and use several spot colors.
spot_color_shadingDefine and use several spot colors as shading.
starter_colorDemonstrate the basic use of supported color spaces.
svg_color_extensionLoad SVG graphics using extended color and fit into a box.
web_colornamesView a list of all cross-browser colors including the color name and hexadecimal color value as well as the corresponding RGB color values used in PDFlib.