Hello,
I have pdf document which 48kb document, when I try to convert into PNG it is increasing to 156, it should be reduced right?
any suggestion?
if tried with resolution but no help.
Resolution resolution = new Resolution(72);
PngDevice png = new PngDevice(resolution);
Document comppdfDocument = new Document(“C:\Users\dummy.pdf”);
for (int Page_counter = 1; Page_counter <= comppdfDocument.getPages().size(); Page_counter++)
{
Page page = comppdfDocument.getPages().get_Item(Page_counter);
png.process(page, “C:\Daya\aspose\pdfPng”+Page_counter+".png");
}