- Even in Aspose Imaging, there is no API that takes BufferedImage directly right? It takes an input
stream or RasterImage ?PngImage pngImage = new PngImage(is); //Takes only InputStream or File or RasterImage.
PdfOptions exportOptions = new PdfOptions();
exportOptions.setPdfDocumentInfo(new PdfDocumentInfo());
pngImage.save(“C:/temp/converted.pdf”,exportOptions);
This Topic is created by asad.ali using Email to Topic tool.