Year 2017 Docotic.Pdf notices

Post about a year releases

Updated on December 31, 2017

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

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

We would appreciate if you let us know about your experience with the library. Write us an e-mail or contact us via the support form. We love to hear from our users.

Memory and speed related improvements in Docotic.Pdf 5.4

November 22, 2017

We have just released a new version of Docotic.Pdf library on our site and on NuGet.

Main changes in Docotic.Pdf 5.4 are memory consumption improvements. We also worked very hard to improve the speed of opening existing documents.

In order to achieve the improvements, we had to mark some methods and properties obsolete. No functionality loss happened, since we added alternative methods for everything we marked obsolete. Please review the changes and migrate to the alternative methods. We will remove obsolete methods and properties in the next release of the library.

Briefly speaking, random access to images, widgets, controls, patterns, color profiles, actions, fonts and views on document level should no longer be used. The same is true for images on page level. Instead, please access all these sequentially using the new enumerating methods.

We added the ability to remove font duplicates. This should help to compressing PDF documents even better. Please let us know how this new feature works for you.

As usual, text processing become better in the new version. We fixed copying of text with invalid or incomplete encoding information. And you no longer need to use fallback fonts to copy existing text. Take a look at the updated Copy text, paths and images sample code.

As always, we improved support for broken and incorrect documents. And we fixed some bugs of our own.

Docotic.Pdf 5.3 Breaking changes, improvements and bug fixes

August 11, 2017

We have released Docotic.Pdf 5.3 on our site and on NuGet.

This release contains some breaking changes. These changes probably won't affect every one of our customers, but please read about the changes, anyway.

The first breaking change is: the MediaBox, CropBox, BleedBox, TrimBox and ArtBox properties of the PdfPage class now return PdfBox structure, which is expressed in PDF's default user space coordinate system. In default user space, the positive Y axis extends vertically upward. Previously, these properties returned PdfRectangle structure, which is expressed in PdfPage coordinate system. In the PdfPage coordinate system, origin is located at the upper-left corner of the page, positive Y axis extends vertically downward.

Other breaking changes are also related to coordinates. These changes affect properties and methods of PdfDocumentView class.

Please review the complete list of breaking changes in the Version History document.

This release brings improvements to text extraction speed. Docotic.Pdf 5.3 opens documents faster. And it draws documents with blend modes and soft masks faster, too.

We added two small features: now you can make text boxes scrollable and you can set mapping names for controls.

As always, we improved support for broken and incorrect documents. And we fixed some bugs of our own.

Improved support for text markup annotations in Docotic.Pdf 5.2

May 16, 2017

We released Docotic.Pdf 5.2 on our site and on NuGet.

In the new version, we added the ability to create text markup annotations. You can create highlight, jugged underline, strikeout and underline annotations. Take a look at the Text markup annotations sample for more detail. In addition, now it is possible to modify existing text annotations. We added the SetTextBounds method and the Color and Contents properties to the PdfTextMarkupAnnotation class for that.

The new version can import 16 bit TIFF images without any loss. And it can extract 16 bit images from existing documents.

To provide our customers with more diagnostic means, we added the PdfDocument.Error event. You can subscribe to the event and receive notifications when the library detects an error in the PDF document structures and/or when the library can't process the PDF properly. It's a good idea to send all documents for which this event occurs to Bit Miracle.

There are other changes.

Docotic.Pdf 5.1 with brand new JPEG 2000 codec

February 12, 2017

We have published Docotic.Pdf 5.1 on our site and on NuGet.

The new version comes with a brand new JPEG 2000 codec. The codec is much better than the one we had in previous versions of the library. The decoder part of the new codec allowed us to fix some nasty bugs which affected drawing of documents with particular JPEG 2000 images.

The good news is we now have an encoder part in our JPEG 2000 codec, too. We added PdfImage.RecompressWithJpeg2000 methods, so you can recompress images using JPEG 2000 compression either lossless or using specified conversion ratio. You can also recompress images with JPEG 2000 when adding them to document. PdfImageCompression.Jpeg2000 is now properly supported in such a use case.

Just as some of our customers asked, we added custom exception classes for specific error groups. All the new exception classes are descendants of the PdfException class, so the change is not a breaking one. Here is the list of the new classes: CannotDecryptPdfException, CannotParseFdfException, CannotShowTextException, IncorrectPasswordException, UnexpectedStructureException, UnsupportedFontException, UnsupportedImageException, UnsupportedMetadataException.

In Docotic.Pdf 5.1, we added the ability to draw whole PDF document to multipage TIFF image. The PdfDocument.SaveAsTiff methods produce one TIFF from all pages of a PDF document. The produced TIFF will consist of multiple pages (frames).

With the latest version, you can extract visible text only. Please take a look at the new PdfTextExtractionOptions.SkipInvisibleText property. Use PdfDocument.GetText(PdfTextExtractionOptions) or PdfPage.GetText(PdfTextExtractionOptions) methods to extract visible text only.

There are other changes.



Visit our LinkedIn page | Telegram channel | Google Group