I’m using the following code, in Java:
Page firstPdfPage = pdfDocument.getPages().get_Item(1);
PageInfo pdfPageInfo = firstPdfPage.getPageInfo();
Dimension pdfDimension = new Dimension((int) pdfP…...for certain images when doing PDF to Image conversion Aspose.PDF...generates a black box for certain images for certain PDFs, see attached...