Mixed raster content (MRC) is a method for compressing images that contain both binary-compressible text and continuous-tone components, usingimage segmentation methods to improve the level of compression and the quality of the rendered image.[1] By separating the image into components with different compressibility characteristics, the most efficient and accurate compression algorithm for each component can be applied.
MRC-compressed images are typically packaged into a hybrid file format such asDjVu and sometimesPDF.[2] This allows for multiple images, and the instructions to properly render and reassemble them, to be stored within a single file.
Someimage scanners optionally support MRC when scanning to PDF. A typical manual states that without MRC, the image is generated in a single process, with text and graphics not distinguished. With MRC, separate processes are used for text, graphics, and other elements, producing clearer graphics and sharper text, at the price of slightly slower processing. MRC is recommended to optimise the scanning of documents with harder-to-read text or lower-quality graphics.[3] MRC can also reduce the size of the scanned file,[4] though higher compression usingJBIG2 can sometimes lead to character substitution errors in scanned documents.[5]
| MRC (ISO/IEC/ITU) | |
|---|---|
| Internet media type | image/mrc |
| Magic number | \xFF\xD8 |
| Extended from | JPEG |
| Standard | ISO/IEC 16485:2000;ITU-T Recommendation T.44 (01/2005) |
A form of MRC is defined by international standard bodies asISO/IEC 16485, orITU recommendation T.44 (accessible free of charge). It defines a file format with bilevelmasks and two data layers in each "stripe" of the image. The mask can be encoded in ITUT.4,JBIG1, orJBIG2, while the images can beJPEG,JBIG1, or run-length encoded color. The format is loosely based on JPEG, with a APP13 segment registered for this purpose.
It is not known whether this file format is actually used, as formats like DjVu and PDF have their own ways of defining layers and masks.[2]
Thiscomputer graphics–related article is astub. You can help Wikipedia byadding missing information. |