I've converted pdf into jpeg image
width/height is different and quality is low.
I want to read Pdf in 300dpi
Code: Select all
list<Image> imageList;
readImages( &imageList, "D:\\1.pdf");
for_each(imageList.begin(), imageList.end(), resolutionUnitsImage::resolutionUnitsImage(PixelsPerInchResolution));
for_each(imageList.begin(), imageList.end(), densityImage::densityImage(Geometry(300, 300)));
writeImages( imageList.begin(), imageList.end(), "D:\\1.jpg" );
Tell me how to fix my code, please.
Thank you~