Keep in touch

0

Form flattening and other new features in Docotic.Pdf 4.8

H!

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

This version adds ability to flatten PDF forms. Flattening locks controls from editing. Flattening can significantly reduce file size if the document is then saved with PdfSaveOptions.RemoveUnusedObjects option set to true. To flatten form fields in a PDF file please use PdfDocument.FlattenControls() method.

We also added support for list boxes (there is Listboxes sample illustrating how to create them). The PdfCheckbox got new ExportValue property. You can use this property to extract export value of a checkbox.

Docotic.Pdf 4.8 fixes number of issues related to processing of controls and widgets. The new version parses, draws and fills PDF forms better than before.

The new version fixes some issues related to extraction of JPEG and CCITT (Fax) images. Text drawing and text extraction also got better. And the library is now more prepared to work with not completely correct PDFs.

Read about all new features and improvements in Docotic.Pdf 4.8 in the Version History document.

We encourage you to download and try the new version. This version is also available on NuGet.

Please tell us your thoughts about the new version using e-mail or via the support form. Don’t hesitate to write us your questions, suggest features or ask for help.

0

Better images and text processing in Docotic.Pdf 4.7

Hello!

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

The new version adds ability to specify the place where library should keep its intermediate data. You can tell the library to keep all the data in memory or to keep smaller streams in memory and other streams in temporary files. The latter is the default option. You can create your own stream provider and tell the library to use it. You can read more about this in documentation for IPdfStreamProvider interface and PdfConfigurationOptions class.

We fixed a number of issues related to image processing. The library now draws and extracts images better, spends less memory to recompress them and more prepared to handle not exactly correct images.

Docotic.Pdf 4.7 fixes some text related issues and, thanks to some of our customers, we were able to improve support for CJK text drawing and extraction.

This version also better draws documents with transparency groups and documents which use blend modes.

And as always, we improved the library so it can work with more of those not completely correct PDFs created by unknown generators.

Read about all new features and improvements in Docotic.Pdf 4.7 in the Version History document.

We encourage you to download and try the new version. This version is also available on NuGet.

Please tell us your thoughts about the new version using e-mail or via the support form. Don’t hesitate to write us your questions, suggest features or ask for help.

0

Improved memory management in Docotic.Pdf 4.6

Hello!

The new version of the Docotic.Pdf library got published on our site and on NuGet.

Substantial amount of improvements in Docotic.Pdf 4.6 is related to memory management. Latest version uses much less memory to open or draw PDF documents. Extraction of JPEG 2000 and JBIG2 images also uses less memory in Docotic.Pdf 4.6.

The new version also contains improvements to text extraction, text rendering and font processing features. Version 4.6 handles Japanese text better than any previous version.

We also dedicated some time to rendering features of the library. The latest release draws text, patterns, XObjects, and forms better. Just better.

Read about all new features and improvements in Docotic.Pdf 4.6 in the Version History document.

We encourage you to download and try the new version. This version is also available on NuGet Release and Beta channels.

Please tell us your thoughts about the new version using e-mail or via the support form. Don’t hesitate to write us your questions, suggest features or ask for help.

0

Docotic.Pdf 4.5 processes fonts and images better

Hello!

The new version of the Docotic.Pdf library is available on our site and on NuGet.

Docotic.Pdf 4.5 extracts and draws images faster. Especially, images with masks. The new version also processes Type 0 fonts faster.

We added ability to create and use L*a*b* colors and color spaces in the newest version of the library. Take a look at PdfLabColorSpace and PdfLabColor classes.

As usual, there is a number of bug fixes in version 4.5. Most of the bugs affected quality of PDF rendering, so now library draws PDFs correct in more cases than before. Also as usual, the new version improves support for semi-broken PDFs created by some buggy and usually anonymous generators.

Read about all new features and improvements in Docotic.Pdf 4.5 in the Version History document.

We encourage you to download and try the new version. This version is also available on NuGet Release and Beta channels.

Please tell us your thoughts about the new version using e-mail or via the support form. Don’t hesitate to write us your questions, suggest features or ask for help.

0

Improved PDF rasterizer and content extractor

We released Docotic.Pdf 4.4 on our site and on our NuGet channels.

The newest release of the library brings improvements to rasterizer, content extractor and parser parts.

The version 4.4 is more robust in parsing of semi-broken PDFs created by some buggy generators. At the same time, in this version we fixed some of our own bugs related to parsing of fonts, content streams, forms, and functions. As the result, Docotic.Pdf 4.4 draws and extracts text more precisely. It also processes colors of images, text and graphics better than before.

With the new version it’s possible to access log messages emitted by the library. The library now uses log4net for logging purposes. Place an XML configuration file next to the library if you want to access these messages.

There are other improvements and bug fixes. Read about all new features and improvements in Docotic.Pdf 4.4 in the Version History document.

We encourage you to download and try the new version. This version is also available on NuGet Release and Beta channels.

Please tell us your thoughts about the new version using e-mail or via the support form. Don’t hesitate to write us your questions, suggest features or ask for help.

0

LibTiff.Net and LibJpeg.Net are available on GitHub

Hi!

We have published our open source libraries on GutHub.

GitHub has become such a staple among the open-source development community that we decided it will be best to continue development of LibTiff.Net and LibJpeg.Net there.

Please feel free to access these libraries using following links:

https://github.com/BitMiracle/libtiff.net

https://github.com/BitMiracle/libjpeg.net

We are always happy to receive help from others, so please feel free to help us with these libraries.

0

Docotic.Pdf for .NET 4, bug fixes and other improvements

We have released Docotic.Pdf 4.3.

Starting from this release the library ships in two versions. One version is for NET 4 and later frameworks and the other one for .NET 2 and later frameworks. So, now you can benefit from the version built for .NET 4 while you are still able to use the library in projects targeting older .NET frameworks.

Docotic.Pdf 4.3 brings support for Type 3 fonts. This version also contains number of other improvements related to fonts.

The library now can stroke and fill paths with patterns. This is a relatively rare feature of PDF format but it really shows when you try to draw document with patterns and there is no support for drawing them.

The new version adds support for PDF functions, separation color spaces and spot colors. We also fixed some issues in color processing.

We also improved extraction of text and images. These are some of the areas we improve in almost every version of the library. This is release is not an exception.

There are other improvements and bug fixes. Read about all new features and improvements in Docotic.Pdf 4.3 in the Version History document.

We encourage you to download and try the new version.

Please write us about your findings with Docotic.Pdf using e-mail or via the support form. Don’t hesitate to write us your questions, suggest features or ask for help.

 

0

Print PDF in .NET – Part 2

In the first part, we have completed the basic PDF printing application. The “Hello World” sample is good as a proof of concept, but it is too simple. You will probably want to have following features in a real application:

  1. Print existing PDF documents.
  2. Print multiple pages.
  3. Setup paper size and orientation.
  4. Preview print output.
  5. Reuse the printing code.

I will incrementally modify the demo application in order to show how to support all of these features.
Read More

0

Docotic.Pdf now available on NuGet

I am pleased to announce that Docotic.Pdf is now available on NuGet.

Some of our customers advised us to publish the library there and we followed the advice.

To install Docotic.Pdf library, run the following command in the Package Manager Console

PM> Install-Package BitMiracle.Docotic.Pdf
And we did one more thing: we added Beta channel for the library. Feel free to use it if you want to get newest features and latest bug fixes.

The version in Beta channel is tested for regressions and is safe to be used in production environment. Be prepared for some incomplete features or possible API changes in beta version, though.

To install Docotic.Pdf library from Beta channel, run the following command in the Package Manager Console

PM> Install-Package BitMiracle.Docotic.Pdf.Beta
Please feel free to suggest features using e-mail or via the support form. And don’t hesitate to write us your questions or ask for help.

0

Print PDF in .NET – Part 1

.NET Framework provides good support for printing in Windows Forms, WPF and Windows Store applications. You can easily show print preview dialog, customize print settings and, actually, print documents. You just need to prepare your document for printing – convert the document to a sequence of drawing commands or convert the document to the one of printer-friendly formats like XPS. It might be painful if format of your document is a complex one.

PDF is an example of such a complex document format. It is one of the most popular file formats for publishing documents, but .NET does not support printing of PDF documents out of the box.

Docotic.Pdf library adds support for printing PDF documents in .NET applications. I will show how to build a Windows Forms application that prints PDF documents. The application will display print preview dialog before printing, will have support for custom print settings and, of course, will print PDF documents to the selected printer.

Read More