Year 2022 Docotic.Pdf notices

Post about a year releases

Updated on December 31, 2022

This page contains all Docotic.Pdf release notices for year 2022.

Visit the Docotic.Pdf page for more information and download links. The full Version History for 2022 releases is also available.

We would appreciate if you let us know about your experience with the library. Your questions and feature suggestions are also welcome. Write us an e-mail or contact us via the support form. We love to hear from our users.

3D views API and other improvements in Docotic.Pdf 8.8

November 30, 2022

We have released Docotic.Pdf 8.8 on our site and on NuGet. This release extends 3D views API and handles structure information better. This is also the last release with full support for .NET 4.7.1 and older versions of .NET 4.x.

In response to our customer request, we added the ability to create 3D views in the new version. And we changed the existing 3D views API so that it is possible to access more properties of a 3D annotation and its view.

Version 8.8 preserves structure information of the pages copied or extracted from a PDF with a structure tree. The library also properly merges structure hierarchy when merging documents. And when you remove pages with structure information, the library removes no longer used structures.

The new version finds more duplicate objects. Also, from now on, PdfDocument.ReplaceDuplicateObjects methods can also find and replace duplicate form XObjects.

Drawing and Optimization APIs got better in Docotic.Pdf 8.7

October 11, 2022

We have released Docotic.Pdf 8.7 on our site and on NuGet. This release can compress PDFs even better than before. And it brings substantial changes to the Drawing API.

In Version 8.7, we added the ability to remove unused glyphs from existing PDF fonts. There is the new PdfDocument.RemoveUnusedFontGlyphs method for this. And the PdfFont.RemoveUnusedGlyphs method now supports existing PDF fonts.

The library also detects and replaces duplicate objects better than in previous versions. We also fixed some issues with removal of unused resources and un-embedding of fonts.

We added the ability to save PDF pages as uncompressed raster bytes in RGB, Gray-scale, and CMYK color spaces with an optional alpha channel. Please try the new ImageCompressionOptions.CreateUncompressed method.

Along with the previous change, we heavily reworked the ImageCompressionOptions class. Now all static methods of this class return instances of derived types instead of the ImageCompressionOptions itself. Take a look at the new PngImageCompressionOptions, JpegImageCompressionOptions, TiffImageCompressionOptions, and UncompressedRasterOptions classes. This is a breaking change, so please contact us if you need help to migrate to the new version.

Docotic.Pdf 8.7 contains changes for the PdfSaveOptions class. We added the new RemoveSignaturePermissions option, which is true by default. This option comes in handy when you save documents with forms previously secured by a signature. Please read the remarks section in the documentation for the new property for more detail.

We changed the default value for the PdfSaveOptions.UseObjectStreams property to true. This means that now the library packs objects into compressed object streams by default. This helps to produce smaller output files but will require Adobe Reader 6 released in 2003 or newer to view produced PDF files. You can set this property to false to get the previous default behaviour.

The HTML to PDF add-on now uses Chromium 100.0.4889.0 to render web content to PDF.

Docotic.Pdf 8.6 with text processing improvements

June 14, 2022

We have a new release ready. Docotic 8.6 and its add-ons are now available on our site and NuGet.

The new version contains improvements related to text processing, memory consumption, and content extraction.

With Docotic.Pdf 8.6, you can programmatically detect cases when regular text extraction methods produce garbled / unexpected text. This happens for documents that do not contain mappings of glyphs to Unicode characters. Or contains incorrect mappings.

We added the ability to specify a custom handler for character codes that define unmapped glyphs. You can use the handler to skip or replace those glyphs. The Fix garbled text when extracting from PDF documents sample code shows how to use OCR to extract text properly, even if a document contains unmapped glyphs.

Docotic.Pdf 8.6 uses less memory and time to decode LZW and Flate streams. It also imports PNG images faster and using less memory. When drawing a text using a Type3 font, the library uses less time, memory, and temporary streams. Processing a document with inline images also requires less temporary streams.

To help with content extraction and copying, we have added the ability to extract and copy painted Form XObjects. It is now possible to extract blend mode with page objects. From now on, the PdfPage.GetObjects group of methods returns invisible paths.

To showcase the changes, we added the Edit PDF page content sample. And we updated the existing Copy text, paths and images between PDF pages sample.

As always, we fixed bugs in the library. The new version contains fixes for text drawing and extraction, form controls, and images.

Add RTL and bidirectional text to PDF with Docotic.Pdf 8.5

March 3, 2022

We have released Docotic.Pdf 8.5 and its add-ons. They are now available on our site and NuGet.

We improved support for RTL and bidirectional text in the new version. Last year, the library got the ability to extract RTL and bidirectional text properly. In version 8.5, we added the ability to specify base direction when drawing right-to-left and bidirectional text on PdfCanvas.

There are also changes in the API for images. With the new version, you can access low-level image streams. It is now allowed to uncompress mask images and recompress them with Flate.

With Docotic.Pdf 8.5, it is possible to retrieve extended properties of a timestamp token embedded in a signature. And we also improved the verification of ECDSA signatures.

We fixed quite some bugs reported by our customers and prospects. Some areas affected are JPEG extraction and importing code, text extraction, decoding of CCITT images, and parsing of fonts.



Visit our LinkedIn page | Telegram channel | Google Group