GdPicture.NET is a Nutrient product. Learn more

Reduce Documents and Images without Losing Quality with MRC Compression

Table of contents

    MRC Compression alongwith Document Imaging SDK

    Advanced MRC compression with GdPicture.NET Document Imaging SDK Many of you are already familiar with MRC compression. Our SDK provides this feature since version 11, along with Automatic Color Detection in a dedicated plugin(opens in a new tab). Recently, we have implemented our latest research on compression, and the result is a dramatic improvement of the engine regarding speed, compression, and image quality. We thought it was a good opportunity to remind everyone what MRC is all about, and on which context it is the most useful. What is MRC Compression? Sharing electronic colored documents is often complicated for many reasons: the file size is usually very big, and when the size becomes acceptable, it’s –most of the time- to the detriment of quality. However, it should be possible to share and view color as well as black and white.

    The following technical relations can be associated with the customer requirements:

    efficient exchange of the raster data is directly related to the file size and compression ratios; image quality in a scan anywhere - print anywhere environment is directly related to the exchange of device independent data forms and the rendering compromises made by the output engine; fast printing with modest resources is related to low complexity of the format (source: ISO 16485-2000)

    If we take the standard Wikipedia(opens in a new tab) definition, Mixed Raster Content (MRC) is a method for compressing images that contain both binary-compressible text and continuous-tone components, using image segmentation methods to improve the level of compression and the quality of the rendered image. By separating the image into components with different compressibility characteristics, the most efficient and accurate compression algorithm for each component can be applied.

    For instance, MRC compression on a single document image can combine JBIG2 compression(opens in a new tab), Automatic Color Detection(opens in a new tab), JPEG and PNG compression, and more. MRC compression is optimal on structured images, or images with forms because each element of the document is compressed with a different technology.

    Learn more about MRC compression: You will find the ISO for MRC compression here(opens in a new tab). Many scientific publications are also available on the Web, with for instance: Haneda, Eri & Yi, Jonghyon & A. Bouman, Charles. (2007). Segmentation for MRC compression. Proc SPIE. 6493(opens in a new tab). Pavlidis, George. (2017). Mixed raster content - segmentation, compression, transmission. 10.1007/978-981-10-2830-4(opens in a new tab). What’s New with MRC Compression Today? Working on compression is a research work that requires experimenting on thousands of test cases. Like in any scientific work, ideas need to be tested with experimental methods. Our work on compression started in 2003 with the first release of GdPicture.NET (at this time still called GdPicture), and it’s a never-ending task: there are always new and atypical files to process, new technologies to discover, and new algorithms to try. Our goal with MRC compression is to avoid losing any information. To achieve the best results, we keep a constant focus on segmentation and the document’s structure.

    As said before, MRC Compression, along with Automatic Color Detection, is available in GdPicture.NET Document Imaging SDK since version 11. Version 14.0.60(opens in a new tab) provides an enhanced version of the MRC compression engine.

    The document below has been processed by the updated engine:

    [row] [column md="6"]

    File size before MRC compresion: 685.8 KB [/column] [column md="6"]

    File size after MRC compresion: 56.9 KB [/column] [/row]

    [row] [column md="6"]

    File size before MRC compresion: 839.3 KB [/column] [column md="6"]

    File size after MRC compresion: 66.5 KB [/column] [/row]

    Download Files For Comparison(opens in a new tab) Since DocuVieware HTML5 Viewer and Document Management Kit(opens in a new tab) is powered by GdPicture.NET, it automatically benefits from its updates. Check for yourself by downloading the latest version of GdPicture.NET:

    Download GdPicture.NET Imaging SDK

    (opens in a new tab) for ASP.NET included.

    Resources in our documentation: AddImageFromGdPictureImage(Int32,PdfAdvancedImageCompression) Method(opens in a new tab) Other ORPALIS Products At ORPALIS(opens in a new tab), we don’t only develop toolkits for developers; we also have a software offer with several productivity apps for individuals and professionals. Almost all of them include MRC compression. PassportPDF PassportPDF(opens in a new tab) is a modern cloud infrastructure offering freemium microservices dedicated to addressing document management challenges of professional and general public users. Three desktop applications for Windows are currently available: PDF Reducer Cloud, PDF OCR Cloud, and MRC Compressor.

    [row] [column md="5"] (opens in a new tab) [/column] [column md="7"]

    MRC Compressor is an image to PDF conversion app which uses a sophisticated compression technology called MRC (Mixed Raster Content). It offers an outstanding file size reduction of documents without adversely affecting their quality or colors.

    [/column] [/row] PaperScan and PDF Reducer As it is the case with Automatic Color Detection(opens in a new tab), many ORPALIS products are using MRC compression. As our end-user/productivity software offer is based on the GdPicture.NET SDK, it benefits from its technologies and includes all the new features and functionalities with each update. This is the case for the popular PaperScan scanning software and PDF Reducer, which are also good examples of what you can build with GdPicture.NET.

    [row] [column md="2"][/column] [column md="4"] PaperScan (opens in a new tab) [/column] [column md="4"] PDF Reducer (opens in a new tab) [/column] [/row]

    MRC Compression is just one of many features of our SDK, so if you need more information about other functionalities of GdPicture.NET, please let us know(opens in a new tab)!

    Cheers!

    Jonathan D. Rhyne

    Jonathan D. Rhyne

    Co-Founder and CEO

    Jonathan joined PSPDFKit in 2014. As Co-founder and CEO, Jonathan defines the company’s vision and strategic goals, bolsters the team culture, and steers product direction. When he’s not working, he enjoys being a dad, photography, and soccer.

    Explore related topics

    FREE TRIAL Ready to get started?