Skip to content

PSOutputDev/pdftops: add more options to control color handling during rasterization

This merge request consists of three commits:

  • The first commit is the main contribution. It adds the -processcolorformat and -processcolorprofile options to pdftops. The former sets the splash bitmap type during rasterization, whereas the latter sets the corresponding ICC profile.
  • The second commit just introduces the -rasterize flag to pdftops, which makes testing these changes a lot easier and is probably of independent use. Was introduced in !576 (merged)
  • The last commit activates -overprint by default if the splash bitmap type is CMYK8 and the language level is greater or equal to 2. This behavior is consistent with the assumption that CMYK printing devices probably respect the overprint operators and that PSOutputDev would emit the overprint operators for level>=2.

Thx for reviewering 🌟

Edited by Albert Astals Cid

Merge request reports