How to read a pdf and convert it to an image (bmp, jpeg, png) and then save it?

  1. FAQ
  2. »
  3. Raster Image Questions

Example of converting a pdf - document page into an image you can look in function getThumbnail in PdfiumWrapperImpl.cpp.

Example of saving OdGiRasterImage - object in a file you can look in the function createRasterImage in DbDeviceDriver.cpp.