OUR FREE ONLINE TOOLS: Imgur Downloader Youtube Downloader Vimeo Downloader Instagram Downloader (new) Find Subtitles File Detective Subtitle Converter File Extensions Currency Converter Image Converter
Images \ Raster images \ Unix \ .mgr - ManaGeR (MGR)

What is .mgr file?

ManaGeR (MGR) is a raster image file originating from Unix. It was created by Stephen A. Uhler in 1994 for ManaGeR (MGR).
Images are uncompressed.
File extension is .mgr.

Software handling .mgr files

Rest7 Free Online Converter

Structure of .mgr images

There are 2 kinds of headers- the new format and old one.

The new format

Name Type Description
Magic String[2] "yz" for 8-bit aligned data
"yx" for unaligned data
Width UInt8[2] Width is calculated as: (Width[0] -32) << 6) + (Width[1] -32)
Height UInt8[2] Height is calculated as: (Height[0] -32) << 6) + (Height[1] -32)
Bpp UInt8 Bits per pixel, either 1 or 8
Reserved UInt8 Currently 0

The old format

Name Type Description
Magic String[2] "xz" for 1bpp, 32-bit aligned data
"zx" for 1bpp, 16-bit aligned data
"zy" for 8bpp, 16-bit aligned data
Width UInt8[2] Width is calculated as: (Width[0] -32) << 6) + (Width[1] -32)
Height UInt8[2] Height is calculated as: (Height[0] -32) << 6) + (Height[1] -32)

Data types:
UInt8, UInt16, UInt32, UInt64 - Unsigned Integer 8 bit, 16 bit, 32 bit, 64 bit
Int8, Int16, Int32, Int64 - Signed Integer 8 bit, 16 bit, 32 bit, 64 bit
UMint16, UMint32 - Unsigned Motorola Integer 16 bit, 32 bit (Big Endian)
Char8, Char16 - Char 8 bit, 16 bit

Real world .mgr samples

If you have graphics of this type, please upload them below:
Maximum 5 images at once

Drag & drop your images here.
or click to browse your computer
Rest7 Webtools Contact Usage Agreements Image Converter

Some icons by Freepik (CC BY 3.0)

Copyright © 2015 by rest7.com. All rights reserved.