Plan 9 Image

From Just Solve the File Format Problem
Revision as of 21:34, 28 August 2024 by Vivivi (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
File Format
Name Plan 9 Image
Ontology
Extension(s) (none)
Compression Optional LZ77
Spec http://p9f.org/magic/man2html/6/image
Spec Availability free
Endianness mixed
Developed By Bell Labs
Released 1980s?

The Plan 9 image format is used in the Plan 9 from Bell Labs operating system. It does appear to have been used in Bell Labs before Plan 9's creation, but no name was given to it.

A Plan 9 image file can be either compressed or uncompressed. The uncompressed format starts with 5 groups of 12 bytes indicating image information in plaintext. The compressed format starts with the string compressed\n, then 7 groups of 12 bytes indicating image information in plaintext. The remainder of the image format is the pixel data itself, formatted as determined by the previous info, either uncompressed, or compressed using LZ77, respectively.

Specification

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox