CIB pdf toolbox 2 technical documentation
4. Usecases
4.3. Creating PDF-Documents from Image formats
Inside the InputFilename property you can also load image formats of type JPEG, BMP, Tiff, JPEG2000 and PNG and not only PDF documents. Those image formats will be automatically converted to a PDF document.
Property |
Meaning |
Type |
InputImageScaling |
You can specify the dimensions of the pages on which the images will be emplaced. Example: InputImageScaling=100pt;200pt InputImageScaling=100mm;200mm InputImageScaling=;200pt InputImageScaling=100dpi Instead of setting a DPI or fixed size, you can select also a |
Set |
InputImageMargin |
Setting a margin in pt, which should be used for the images. Default is 0. Example: InputImageMargin=10pt InputImageMargin=10pt;20pt InputImageMargin=10pt;20pt;30pt;40pt |
Set |
InputImageBackgroundColor |
Define the background color of the page as a color. Example: InputImageBackgroundColor= #FF0000 |
Set |
InputImageScalingMax |
Defining a maximum size of a created image in pt |
Set |
InputImageEmbedStyle |
Either embed or fit. Fit means, that the image is completely |
Set |