Jump to content

PICtor PIC image format

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by HanzoHattori (talk | contribs) at 18:57, 19 September 2007 (Typical file format). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Pictor PCPaint PIC image format

PICtor is an image file format developed by John Bridges, the principal author of PCPaint, the first Paintbrush program for the PC. It was also the native file format for Pictor Paint and GRASP (multimedia authoring software) (also by Bridges) and became the first widely accepted DOS imaging standard.

Typical file format

The PICtor format is a device-independent raster image format; the file header stores information about the display hardware (screen resolution, color depth and palette information, bit planes and so on) separately from the actual image information, allowing the image to be properly transferred and displayed on computer systems with different hardware. PIC files commonly stored palette-indexed images ranging from 2 or 4 colors to 16 and 256 colors, although the format has been extended to record true-color (24-bit) images as well.

Although it is device-independent, the PIC format also contains additional information about the device that it was created on, which sometimes leads PCPaint Pictor PIC files to be described as a "device-dependent" format. The encoding of a PIC file is also optimized for decoding quickly onto the native device that it was created-on.

PICtor image data is compressed using an advanced form of encoding, and a parent-child blockbased algorithm which collapses series of consecutive bytes with identical colors into an encoded child block within a parent block while also allowing non-consecutive bytes to be included as raw data within the same parent block. Review the Example Pictor Encoder and the references for additional information.

As the file is processed during decoding, the child blocks in each parent block are unpacked either into an off-screen buffer if not displaying in native mode, or directly into the display adapter if in native mode (which results in quicker unpacking). Review the Example Pictor Decoder and the references for additional information.

References

Encyclopedia of Graphics File Formats, 2nd Edition by Murray, James D. , Van Ryper, William ISBN: 1-56592-161-5 http://www.fileformat.info/resource/book/1565921615/index.htm

Pictor PC Paint File Format Summary http://www.fileformat.info/format/pictor/

GRASP File Format Summary http://www.fileformat.info/format/grasp/

GLPRO http://en.wikipedia.org/wiki/GLPro

PCPAINT/Pictor Page Format Description Format by John Bridges. Document by Microtex Industries, Inc. Revision Date: 2/9/88 http://netghost.narod.ru/gff/vendspec/pictor/pictor.txt

The Graphics File Formats Page GL - Another animation format Dr. Martin Reddy Technical Lead, R & D, Pixar Animation Studios http://www.martinreddy.net/gfx/2d/GL.txt

The formats of GRASP animation files By George Phillips http://www.programmersheaven.com/download/2157/Zipfilelist.aspx