Spire.PDF for Java 5.2.3 supports converting TIFF files to PDF as well as converting OFD format to PDF

Spire.PDF for Java 5.2.3 supports converting TIFF files to PDF as well as converting OFD format to PDF

2022-02-17 01:04:04

We are glad to announce the release of Spire.PDF for Java 5.2.3. This version supports converting TIFF files to PDF as well as converting OFD format to PDF, and it also supports determining whether PDF file was password encrypted. Besides, it enhances the conversion from PDF to HTML, PDF to PDFA1B, PDF to PDFA2A, PDF to image. In addition, it fixes some known issues such as the application threw "NullPointerException" when finding PDF text . More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREPDF-4131 Supports converting TIFF files to PDF.
PdfDocument doc = new PdfDocument();
PdfPageBase page = doc.getPages().add();
PdfImage myTiff = PdfImage.fromFile("TiffToPdf.tiff");
page.getCanvas().drawImage(myTiff, 60, 60, 260, 150);
doc.saveToFile("output.pdf", FileFormat.PDF); 
New feature SPIREPDF-4892 Supports determining whether PDF file was password encrypted.
boolean isPasswordProtected = PdfDocument.isPasswordProtected(inputFile); 
New feature - Supports converting OFD format to PDF.
OfdConverter converter = new OfdConverter(inputFile);
converter.toPdf(outputFile); 
Bug SPIREPDF-4827 Fixes the issue that the content displayed incorrectly after converting PDF to image.
Bug SPIREPDF-4857 Fixes the issue that some content lost after converting PDF to Html.
Bug SPIREPDF-4863 Fixes the issue that the verification failed after converting PDF to PDFA1B.
Bug SPIREPDF-4877 Fixes the issue that the application threw "NullPointerException" when converting PDF to image.
Bug SPIREPDF-4888 Fixes the issue that the application threw "NullPointerException" when getting PDF attachments.
Bug SPIREPDF-4890 Fixes the issue that the application threw "NullPointerException" when finding PDF text.
Bug SPIREPDF-4913 Fixes the issue that the application threw "NullPointerException" when converting PDF to PDFA2A.
Click the link below to download Spire.PDF for Java 5.2.3: