Year 2025 Docotic.Pdf notices
Updated on August 6, 2025
This page contains all Docotic.Pdf release notices for year 2025.
Visit the Docotic.Pdf page for more information and download links. The full Version History for 2025 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.
Docotic.Pdf 9.8. Cleaner API and smarter memory use
August 06, 2025
We have released Docotic.Pdf 9.8. This version focuses on API clarity and memory efficiency. It also brings practical improvements for image processing.
API cleanup and design improvements
Version 9.8 introduces a series of targeted API changes - mostly small, but impactful. The changes helped to:
-
Resolve legacy design issues. For example, updates to the
IFontLoader
interface now allow the library to load fonts using significantly less memory. By reducing large byte array allocations on the Large Object Heap, we've cut down fragmentation and boosted performance. -
Sharpen nullability semantics. Building on the nullable reference type support introduced in version 9.2, this release makes it clearer which parameters and return values can actually be null.
Optional values (per the PDF spec) may return null
. Required values now throw precise exceptions
if missing or malformed - no more silent failures or ambiguous nulls.
To support a cleaner, more consistent API going forward, we've marked some older methods and properties as obsolete. Full details are in the version history.
We've also refreshed all sample code and documentation to reflect the new API structure - so upgrading should be smooth and confusion-free.
New features and enhancements
-
Deflate compression for TIFF images. By default, TIFF images are saved using LZW compression, which is fast but can result in larger files. Starting with 9.8, you can opt for Deflate compression to shrink output size - at the cost of slightly slower encoding. See the version history for more detail.
-
Clearer font lookup. Docotic.Pdf now throws a FontNotFoundException when it cannot locate a font using system fonts or a custom font loader. It's a small addition with big implications for debugging font-related issues.
-
Leaner memory footprint. Logging now consumes fewer bytes. Bidirectional and left-to-right text processing now uses less memory and results in fewer allocations.
-
Broader image extraction.
PdfDocument.GetImages
,PdfPage.GetImages
, andPdfPage.GetPaintedImages
now include images from annotations and form controls.
Long-Term Validation (LTV) signatures in Docotic.Pdf 9.7
June 02, 2025
Docotic.Pdf 9.7 has arrived - find it on our site and NuGet.
The ability to embed long term validation (LTV) information for digital signatures is the key feature of this version.
LTV signatures are crucial for ensuring that a document's authenticity can be verified long after signing. Starting from version 9.7, the library can embed essential validation data - such as certificate revocation lists (CRLs) and Online Certificate Status Protocol (OCSP) responses - directly into the PDF. As a result, even if the original certificate authorities and validation sources become unavailable, the document remains verifiable.
Check the new code samples to know how to:
- Produce LTV-enabled signatures compliant with ETSI specifications.
- Add LTV information to existing signatures, producing Advanced Electronic Signatures (PAdeS B-LT level) or Qualified Electronic Signatures (PAdeS B-LTA level).
- Certify PDFs with B-LT certification signatures.
The new version also contains these improvements:
- Reduced memory consumption: The library saves documents in a new way that reduces the likelihood of objects getting into LOH. Also, internal structures use fewer bytes.
- Enhanced font support: Resolved issues affecting text rendering with both new and existing fonts for improved visual consistency. Additionally, fixed bugs related to processing OTF fonts with invalid table directories, enhancing reliability in font handling.
- Image handling fixes: Resolved issues with processing RGB JPEG images that use custom decode parameters. Improved CMYK JPEG 2000 image extraction, ensuring accurate retrieval. Addressed bugs affecting inline images processing and handling of images with invalid masks. Fixed decoding errors in PNG images and improved the processing of TIFF images, including enhanced support for transparent grayscale TIFFs.
There are breaking changes in this version of Docotic.Pdf:
- GetFonts, GetImages, GetColorProfiles, and GetPatterns methods in PdfDocument now return only objects that are actually used in the document.
- PdfDocument.DocumentsAreEqual methods now ignore time-dependent information in document security store (DSS).
- The PdfFileSpecification.SetCustomName method is marked as obsolete.
Visit our
LinkedIn page |
Telegram channel |
Google Group