Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Create PDF from BufferedImage (DOM API)

$
0
0
Hi,

I'm trying to convert java.awt.BufferedImages to PDF using the newer DOM API.

I have working code using the legacy API as its Image object supports BufferedImages via the following code:

aspose.pdf.Image image1 = new aspose.pdf.Image();
image1.getImageInfo().setSystemImage(bufferedImage);

I haven't seen a similar API method with the com.aspose.pdf.Image object. Is there an such an API that I have missed?  

If there isn't one, can one be added?  Are there any issues if I keep using the legacy API?

Thanks, Ian.

Viewing all articles
Browse latest Browse all 3131

Trending Articles