PCPaint PIC

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Rearranging, etc.)
Line 4: Line 4:
 
|extensions={{ext|pic}}, {{ext|clp}}
 
|extensions={{ext|pic}}, {{ext|clp}}
 
|pronom={{PRONOM|x-fmt/170}}
 
|pronom={{PRONOM|x-fmt/170}}
 +
|wikidata={{wikidata|Q105858850}}
 
|released=1984 (software), 1985 (PIC format)
 
|released=1984 (software), 1985 (PIC format)
 
}}
 
}}
Line 18: Line 19:
 
* BSAVE (uncompressed): Refer to [[PCPaint BSAVE]].
 
* BSAVE (uncompressed): Refer to [[PCPaint BSAVE]].
 
* Compressed BSAVE: Refer to [[PCPaint BSAVE]].
 
* Compressed BSAVE: Refer to [[PCPaint BSAVE]].
 +
 +
== Disambiguation ==
 +
Be aware that there are about four different formats that could be known as "PCPaint PIC". This article and related articles attempt to explain the situation.
 +
 +
Not to be confused with the ''PC Paintbrush'' family of software, and the associated [[PCX]] format.
  
 
== Format details ==
 
== Format details ==
Line 30: Line 36:
 
== Identification ==
 
== Identification ==
 
Files begin with signature bytes {{magic|0x34 0x12}}.
 
Files begin with signature bytes {{magic|0x34 0x12}}.
 +
 +
== See also ==
 +
* [[GRASP GL]] files often contain embedded PCPaint files.
 +
* [[PCPaint BSAVE]]
 +
* [[PCPaint CLP]]
 +
 +
== Specifications ==
 +
* {{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://www.textfiles.com/programming/FORMATS/pix_fmt.txt Picture format docs (of a number of formats including this one)]
  
 
== Software ==
 
== Software ==
 
* PCPaint family
 
* PCPaint family
** [http://www.shdon.com/software/pcpaint PCPaint 3.1]
+
** [https://www.shdon.com/software/pcpaint PCPaint 3.1]
 
** [https://winworldpc.com/product/pc-paint/100a PC Paint 1.00A, at WinWorld]
 
** [https://winworldpc.com/product/pc-paint/100a PC Paint 1.00A, at WinWorld]
 
** [https://winworldpc.com/product/pc-paint/2x PC Paint 2.x, at WinWorld]
 
** [https://winworldpc.com/product/pc-paint/2x PC Paint 2.x, at WinWorld]
Line 48: Line 64:
 
* http://samples.libav.org/image-samples/pictor/
 
* http://samples.libav.org/image-samples/pictor/
 
* https://telparia.com/fileFormatSamples/image/pcPaint/
 
* https://telparia.com/fileFormatSamples/image/pcPaint/
* [http://www.shdon.com/files/PCPaint31-Installed.zip PCPaint31-Installed.zip] → *.PIC
+
* [https://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.
+
* {{CdTextfilesURL|carousel344/003/}} ...: See the {{CdTextfiles|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.)
 
* 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
+
** {{CdTextfiles|vgaspectrum/animate/gl/v7vga.gl|v7vga.gl}} → wsscreen.pic - Example of a text mode PIC
  
== Related formats ==
+
== Links ==
* [[GRASP GL]] files often contain embedded PCPaint files.
+
* [[PCPaint BSAVE]]
+
* [[PCPaint CLP]]
+
 
+
==Resources==
+
 
* [[Wikipedia:PICtor PIC image format]]
 
* [[Wikipedia:PICtor PIC image format]]
 
* [[Wikipedia:PCPaint]]
 
* [[Wikipedia:PCPaint]]
* [[Wikipedia:Pictor Paint]]
 
* {{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://www.textfiles.com/programming/FORMATS/pix_fmt.txt Picture format docs (of a number of formats including this one)]
 

Revision as of 16:11, 10 December 2022

File Format
Name PCPaint PIC
Ontology
Extension(s) .pic, .clp
PRONOM x-fmt/170
Wikidata ID Q105858850
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

Disambiguation

Be aware that there are about four different formats that could be known as "PCPaint PIC". This article and related articles attempt to explain the situation.

Not to be confused with the PC Paintbrush family of software, and the associated PCX 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 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.

See also

Specifications

Software

Sample files

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox