@alexey.noskov below code i used to convert pdf to image
ByteArrayOutputStream outputImage = new ByteArrayOutputStream();
com.aspose.pdf.Document pdfDocument = new com.aspose.pdf.Document(new
ByteArrayInputStream(origData));
Resolution resolution = new Resolution(150);
JpegDevice jpegDevice = new JpegDevice(resolution, 65);
jpegDevice.process(pdfDocument.getPages().get_Item(1), outputImage);
return outputImage.toByteArray();
Are you also loading external resources for PDF ?
if yes then how to disable this for PDF ?
@akanksha2936 Since your question is related to Aspose.PDF, I have moved it into the appropriate forum category. My colleagues from Aspose.PDF team will help you shortly.
@akanksha2936
Can you please explain what do you mean by loading external resources? Do you mean Fonts or any other attachments that a PDF can have during conversion? Are you facing some memory consumption issues?
@akanksha2936
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): PDFJAVA-43591
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.