Importing the Bitmaps Into VPE

<< Click to Display Table of Contents >>

Navigation:  Import of PDF >

Importing the Bitmaps Into VPE

Previous pageReturn to chapter overviewNext page

VPE Enhanced Edition and higher can import the PPM, PGM and PBM file formats. However, these files do not contain DPI image resolution information.

Before import, call:

DLL:VpeSetPictureDefaultDPI(hDoc, 300, 300)
Control:SetPictureDefaultDPI(300, 300)

so VPE can compute the dimensions of the imported bitmaps correctly.

 

NOTE:Due to a bug in VPE versions prior to v7.20 R1, the call to SetPictureDefaultDPI() has no effect for the PPM, PGM and PBM file formats.