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.
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.