CIB pdf toolbox 2 technical documentation

4. Usecases

4.14. Rasterization of PDF documents

Rasterization of a PDF document means, that each page is rendered to one image and the page content of the document is replaced by that image. This can be useful for good compression results in special cases or simplify PDF documents by avoiding rare features in the content of a page.

Property

Meaning

Type

Rasterize

A flag indicating, that the document should be raterized.

Set

RasterizeOptions

A JSON object which configures the rasterize command with following keys:

  • RasterMinImageCount: <number> Rasterize only, when more than <number> images are found on a page.
  • RasterMinPathPaintings: <number> Rasterize only, when more than <number> path painting operations are found on a page.
  • RasterMaxText: <number> Rasterize only, when not more than <number> text characters are found on a page 

Set