PCPaint PIC

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Software)
Line 4: Line 4:
 
|extensions={{ext|pic}}, {{ext|clp}}
 
|extensions={{ext|pic}}, {{ext|clp}}
 
|pronom={{PRONOM|x-fmt/170}}
 
|pronom={{PRONOM|x-fmt/170}}
|released=1984
+
|released=1984 (software), 1985 (PIC format)
 
}}
 
}}
'''PCPaint PIC''', also known as '''Pictor format''', is an image format created by John Bridges for his ''PCPaint'' graphics program. It was also used by PCPaint's successor, ''Pictor Paint''.
+
'''PCPaint PIC''', also known as '''Pictor''' format, is an image format associated with the ''PCPaint'' family of raster image editing software for DOS. The software was originally developed by John Bridges and Douglas Wolfgram, and published by Mouse Systems and Microtex. The PCPaint family also includes ''PC Paint Plus'' and ''Pictor''.
 +
 
 +
"PC Paint" (with a space) seems to be the most authoritative spelling, though "PCPaint" is perhaps more common.
 +
 
 +
The software has several native graphics formats. This article is focused on the format with the 0x34 0x12 signature, which we'll call "PIC", though other formats also use the '''.pic''' filename extension. This article also covers the software in general.
  
 
A PIC file usually contains a raster image, but text modes (character graphics) are also possible.
 
A PIC file usually contains a raster image, but text modes (character graphics) are also possible.
  
== Format ==
+
There are separate articles for some formats:
The most significant versions of the PIC format are the ones written by PCPaint 2.0 and higher. They are identified by the byte at offset 11 having the value <code>0xff</code>. They have a header of 19 or more bytes, of which the first 17 have a fixed layout. At offset 17 is a variable-length "extra data" field, which if present usually contains the palette, or information about the palette. If the last two bytes of the header (after the "extra data") are 0, the image is uncompressed; otherwise it is compressed with [[run-length encoding]].
+
* [[PCPaint CLP]]
 +
* BSAVE (uncompressed): Refer to [[PCPaint BSAVE]].
 +
* Compressed BSAVE: Refer to [[PCPaint BSAVE]].
  
Versions of PCPaint prior to 2.0 do not use this format, and instead use extensions of [[BSAVE Image|BSAVE]] format.
+
== Format details ==
 +
The most significant versions of the PIC format are the ones written by PCPaint 2.0 and higher. They are identified by the byte at offset 11 having the value <code>0xff</code>. They have a header of 19 or more bytes, of which the first 17 have a fixed layout. At offset 17 is a variable-length "extra data" field, which if present usually contains the palette, or information about the palette. If the last two bytes of the header (after the "extra data") are 0, the image is uncompressed; otherwise it is compressed with [[run-length encoding]].
  
 
If the byte at offset 11 is not <code>0xff</code> (and the first two bytes are <code>0x34 0x12</code>), the file uses a different version of the format. It's unclear where such files would have come from, since all PCPaint versions seem to be accounted for, and none of them are reported to use such a format.
 
If the byte at offset 11 is not <code>0xff</code> (and the first two bytes are <code>0x34 0x12</code>), the file uses a different version of the format. It's unclear where such files would have come from, since all PCPaint versions seem to be accounted for, and none of them are reported to use such a format.
Line 22: Line 29:
  
 
== Identification ==
 
== Identification ==
Files begin with signature bytes <code>0x34 0x12</code>.
+
Files begin with signature bytes {{magic|0x34 0x12}}.
  
 
== Software ==
 
== Software ==
Line 48: Line 55:
 
== Related formats ==
 
== Related formats ==
 
* [[GRASP GL]] files often contain embedded PCPaint files.
 
* [[GRASP GL]] files often contain embedded PCPaint files.
 +
* [[PCPaint BSAVE]]
 
* [[PCPaint CLP]]
 
* [[PCPaint CLP]]
  

Revision as of 15:26, 10 December 2022

File Format
Name PCPaint PIC
Ontology
Extension(s) .pic, .clp
PRONOM x-fmt/170
Released 1984 (software), 1985 (PIC format)

PCPaint PIC, also known as Pictor format, is an image format associated with the PCPaint family of raster image editing software for DOS. The software was originally developed by John Bridges and Douglas Wolfgram, and published by Mouse Systems and Microtex. The PCPaint family also includes PC Paint Plus and Pictor.

"PC Paint" (with a space) seems to be the most authoritative spelling, though "PCPaint" is perhaps more common.

The software has several native graphics formats. This article is focused on the format with the 0x34 0x12 signature, which we'll call "PIC", though other formats also use the .pic filename extension. This article also covers the software in general.

A PIC file usually contains a raster image, but text modes (character graphics) are also possible.

There are separate articles for some formats:

Contents

Format details

The most significant versions of the PIC format are the ones written by PCPaint 2.0 and higher. They are identified by the byte at offset 11 having the value 0xff. They have a header of 19 or more bytes, of which the first 17 have a fixed layout. At offset 17 is a variable-length "extra data" field, which if present usually contains the palette, or information about the palette. If the last two bytes of the header (after the "extra data") are 0, the image is uncompressed; otherwise it is compressed with run-length encoding.

If the byte at offset 11 is not 0xff (and the first two bytes are 0x34 0x12), the file uses a different version of the format. It's unclear where such files would have come from, since all PCPaint versions seem to be accounted for, and none of them are reported to use such a format.

Some files with an extension of .clp use the PIC format described in this article, and some use a different "clipping" format.

Images in PIC files can be stored in a variety of ways, and it is somewhat challenging to decode all of them.

Identification

Files begin with signature bytes 0x34 0x12.

Software

Sample files

Related formats

Resources

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox