CIB pdf toolbox 2 technical documentation

4. Usecases

4.17. Extracing or removing images

All images inside a PDF can be extracted with the ExtractImages property.

Property

Meaning

Type

ExtractImages

Definition of a path to which the images of a PDF document should be saved to.

Example:

 D:\path\output.png

Set

ExtractImagesCallback

Callback, which should be used, instead of the Path defined in ExtractImages to deliver the images.

Set

ExtractImagesUserdata

userdata

Set

ExtractImagesCombineMasks

Inside PDF images and mask images are separated as two images. By setting this property the image and mask image is outputted as a combined image in PNG format with alpha channel.

Set

RemoveImages

Removes images from the document.

Set