Spire.PDF for Java 9.2.5 optimizes the function of compressing documents

2023-03-01 01:50:35

We are happy to announce the release of Spire.PDF for Java 9.2.5. This version optimizes the function of compressing documents. Besides, it also enhances the conversion from PDF to Excel. What’s more, some known issues are fixed successfully, such as the issue that deleting annotations failed. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREPDF-5706 Optimizes the function of compressing documents.
PdfCompressor compressor = new PdfCompressor(inputFile);
compressor.getOptions().getImageCompressionOptions().setResizeImages(true);
compressor.getOptions().getImageCompressionOptions().setImageQuality(ImageQuality.Low);
compressor.compressToFile(outputFile);
Bug SPIREPDF-5655 Fixes the issue that the characters did not display correctly when converting PDF to Excel files.
Bug SPIREPDF-5767 Fixes the issue that it failed to delete annotations.
Bug SPIREPDF-5776 Fixes the issue that it failed to delete square and circle annotations.
Bug SPIREPDF-5778 Fixes the issue that cell content was lost when the cell was set not to wrap.
Click the link below to download Spire.PDF for Java 9.2.5: