PCPaint PIC

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (Format)
m (Software)
(7 intermediate revisions by 2 users not shown)
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
 
}}
 
}}
'''PICtor''' format, or '''PC Paint''' format, is a raster image format created by John Bridges for his PCPaint graphics program. Filenames use the extension .PIC (sometimes .CLP).
+
'''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''.
 +
 
 +
A PIC file usually contains a raster image, but text modes (character graphics) are also possible.
  
 
== Format ==
 
== Format ==
The most significant versions of the PIC format are the ones written by PC Paint 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]].
+
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]].
  
Versions of PC Paint prior to 2.0 do not use this format, and instead use extensions of [[BSAVE Image|BSAVE]] format.
+
Versions of PCPaint prior to 2.0 do not use this format, and instead use extensions of [[BSAVE Image|BSAVE]] 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 PC Paint formats 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.
  
 
Some files with an extension of '''.clp''' use the PIC format described in this article, and some use a different [[PCPaint CLP|"clipping" format]].
 
Some files with an extension of '''.clp''' use the PIC format described in this article, and some use a different [[PCPaint CLP|"clipping" format]].
Line 22: Line 25:
  
 
== Software ==
 
== Software ==
 +
* [[Konvertor]]
 
* [[XnView]]
 
* [[XnView]]
* [http://www.shdon.com/software/pcpaint PC Paint 3.1]
+
* [http://www.shdon.com/software/pcpaint PCPaint 3.1]
 +
* {{Deark}}
  
 
==Sample files==
 
==Sample files==
 
* http://samples.libav.org/image-samples/pictor/
 
* http://samples.libav.org/image-samples/pictor/
 
* [http://www.shdon.com/files/PCPaint31-Installed.zip PCPaint31-Installed.zip] → *.PIC
 
* [http://www.shdon.com/files/PCPaint31-Installed.zip PCPaint31-Installed.zip] → *.PIC
 +
* http://cd.textfiles.com/carousel344/003/ ...: See the [http://cd.textfiles.com/carousel344/023/023.CAT index] for "GRASP PICTURE" files.
 +
* One place to find PIC files is inside of [[GRASP GL#Sample files|GRASP GL]] container files. (But be warned that such PIC files cannot always stand alone, as they may be scripted to use a palette not contained in that PIC file.)
 +
** [http://cd.textfiles.com/vgaspectrum/animate/gl/v7vga.gl v7vga.gl] → wsscreen.pic - Example of a text mode PIC
  
 
== Related formats ==
 
== Related formats ==
* [[GRASP GL]] files often contain embedded PC Paint files.
+
* [[GRASP GL]] files often contain embedded PCPaint files.
 +
* [[PCPaint CLP]]
  
 
==Resources==
 
==Resources==
* [[Wikipedia:PICtor PIC image format|Wikipedia article]]
+
* [[Wikipedia:PICtor PIC image format]]
 +
* [[Wikipedia:PCPaint]]
 +
* [[Wikipedia:Pictor Paint]]
 
* {{EGFF|pictor|Pictor PC Paint File Format Summary}} from the [[Encyclopedia of Graphics File Formats]]
 
* {{EGFF|pictor|Pictor PC Paint File Format Summary}} from the [[Encyclopedia of Graphics File Formats]]
* [http://netghost.narod.ru/gff/vendspec/pictor/pictor.txt PCPAINT/PICtor description] by John Bridges himself
+
* [http://netghost.narod.ru/gff/vendspec/pictor/pictor.txt PCPAINT/Pictor description] by John Bridges himself
 
* [http://www.textfiles.com/programming/FORMATS/pix_fmt.txt Picture format docs (of a number of formats including this one)]
 
* [http://www.textfiles.com/programming/FORMATS/pix_fmt.txt Picture format docs (of a number of formats including this one)]

Revision as of 16:20, 15 January 2019

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

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.

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

Contents

Format

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.

Versions of PCPaint prior to 2.0 do not use this format, and instead use extensions of BSAVE format.

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