Java PDF Read Write Extract Text: Reader/Writer/Extract Text Library/Component/API - Create, Modify, Read, Write PDF files and Extract text and images from PDF files using Java - with FREE trial, source code can be obtained through licensing.

Create PDF Files from Images with Asprise Java PDF Reader (with Text Extract)/Writer Library

Sample code:

import com.asprise.util.pdf.PDFImageWriter;

PDFImageWriter writer = new PDFImageWriter(new FileOutputStream("new.pdf"));
writer.open();
writer.addImage("C:\\1.jpg");
writer.addImage("C:\\2.png");
writer.close();

Demo

For example, two images in JPEG format:

  1. girl.jpg [108 Kb]
  2. sky.jpg [199 Kb]
can be writen to a single PDF file as show below:



[227 Kb]

For more details on Asprise PDF library, please read Developer's Guide or view the Javadoc.


< < Go back to product page



ALL RIGHTS RESERVED BY LAB Asprise! © 1998 - 2008. Terms of Use | Privacy Policy