pdf read option densityImage
Posted: 2011-04-25T19:28:01-07:00
Hello~
I've converted pdf into jpeg image
width/height is different and quality is low.
I want to read Pdf in 300dpi
http://edms.zenithst.com/NADi/1.pdf
Tell me how to fix my code, please.
Thank you~
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~