PCPaint CLP

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (Format)
m (Sample files)
 
(4 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
'''PCPaint CLP''' (PCPaint clipping format) is one of the image file formats used by some versions of the PCPaint software for MS-DOS. The image may be uncompressed, or compressed with [[run-length encoding]].
 
'''PCPaint CLP''' (PCPaint clipping format) is one of the image file formats used by some versions of the PCPaint software for MS-DOS. The image may be uncompressed, or compressed with [[run-length encoding]].
  
Note that some files with a '''.clp''' extension are in [[PICtor|PCPaint PIC / Pictor]] format, and not the CLP format described in this article.
+
Note that some files with a '''.clp''' extension are in [[PCPaint PIC|PCPaint PIC / Pictor]] format, and not the CLP format described in this article.
  
 
== Format ==
 
== Format ==
CLP is similar to [[PICtor|PIC]] format, but has a smaller (11- or 13-byte) header, and some other differences:
+
CLP is similar to [[PCPaint PIC|PIC]] format, but has a smaller (11- or 13-byte) header, and some other differences:
 
* In CLP files, the first two bytes represent the file size. In PIC format, they are always <code>0x34 0x12</code>.
 
* In CLP files, the first two bytes represent the file size. In PIC format, they are always <code>0x34 0x12</code>.
 
* CLP files never contain palette information.
 
* CLP files never contain palette information.
Line 17: Line 17:
  
 
Some documentation says that the "bits per pixel" fields contain simply the number of bits per pixel, but evidence suggests the number is actually a code, using the same format as the byte at offset 10 in PIC files.
 
Some documentation says that the "bits per pixel" fields contain simply the number of bits per pixel, but evidence suggests the number is actually a code, using the same format as the byte at offset 10 in PIC files.
 +
 +
== Software ==
 +
* [http://www.shdon.com/software/pcpaint PCPaint 3.1]
 +
* {{Deark}}
  
 
== Sample files ==
 
== Sample files ==
 
* [[GRASP GL]] files often contain embedded CLP files.
 
* [[GRASP GL]] files often contain embedded CLP files.
 +
* {{DexvertSamples|image/pcPaint}}
  
 
== Links ==
 
== Links ==
 
* {{EGFF|pictor|Pictor PC Paint File Format Summary}} from the [[Encyclopedia of Graphics File Formats]], "Clipping format" section
 
* {{EGFF|pictor|Pictor PC Paint File Format Summary}} from the [[Encyclopedia of Graphics File Formats]], "Clipping format" section

Latest revision as of 20:00, 16 February 2024

File Format
Name PCPaint CLP
Ontology
Extension(s) .clp

PCPaint CLP (PCPaint clipping format) is one of the image file formats used by some versions of the PCPaint software for MS-DOS. The image may be uncompressed, or compressed with run-length encoding.

Note that some files with a .clp extension are in PCPaint PIC / Pictor format, and not the CLP format described in this article.

Contents

[edit] Format

CLP is similar to PIC format, but has a smaller (11- or 13-byte) header, and some other differences:

  • In CLP files, the first two bytes represent the file size. In PIC format, they are always 0x34 0x12.
  • CLP files never contain palette information.
  • Compressed CLP files have just one RLE block, while PIC files may have multiple blocks.

In pathological cases (if the file size is exactly 0x1234 bytes, and certain other conditions hold), it could be difficult to tell which of these formats a file uses.

Some documentation says that the "bits per pixel" fields contain simply the number of bits per pixel, but evidence suggests the number is actually a code, using the same format as the byte at offset 10 in PIC files.

[edit] Software

[edit] Sample files

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox