You are here: MrSIDSupport > MG2, MG3 and MG4

MG2, MG3 and MG4

The most current version of the MrSID technology and file format is known as MrSID Generation 4 (MG4). Its predecessors were known as MG3 and MG2.

MG2 was the first commercial version of the compression technology and file format originally developed at Los Alamos National Laboratory. MG2 supports selective decoding (by scale or region), but unlike MG3 and MG4 it does not support optimization workflows, lossless encoding, or composite images (although an MG2 image can be a tile within an MG3 composite). Additionally, the quality of MG2 compression is in many cases somewhat inferior to that of MG3 and MG4.

MG3 introduced lossless encoding, optimization (by scale, quality or region) and selective decoding (by scale, quality or region). In addition, MG3 introduced the ability to store multiple images in a single file known as a “composite” MG3 file. This allows for large MrSID images to be “updated” when new data for certain areas becomes available. The “tiles” that make up an MG3 composite are complete and valid images unto themselves and may be in the MG3 or MG2 format (MG4 composites can contain only MG4 tiles). The MG3 reader (decoder) class allows the user to inspect the type and geographic extent of each tile in a composite image, and any subset of the tiles may be specified when opening the composite image for decoding. Internally, the SDK handles the logic of mosaicking the specified tiles together.

The key new features of MG4 are:

Support for multispectral imagery in MG4 enables users to compress 4-band NAIP data, 8-band Landsat data or even 224-band AVIRIS data, losslessly or with LizardTech's usual high-quality visually lossless compression. The MG4 format also adds support for alpha bands, enabling users with shapefiles defining the boundaries of their image data to perform more complex mosaicking operations than ever before. Embedded overviews mean that decoding MG4 composites takes less time. Finally, MG4 composites can contain source tiles of differing resolutions.

For more information see "Key Features of MrSID".

Differences Among the MG2, MG3, and MG4 Formats

As the MrSID technology has evolved over the years, the range of capabilities supported has evolved as well. Specifically:

While some applications may only write newer versions of the MrSID format, all applications that read MrSID files will always continue to support all versions of the format. These considerations are important to keep in mind, since there are so many older MG2 and MG3 files kept in long-term archives.