Fastgraph Pixel Run Format

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (Sample files)
 
(One intermediate revision by one user not shown)
Line 14: Line 14:
 
PRF is mainly for programmers. The Fastgraph package does include some DOS utilities (SNAPSHOT.EXE, CLIP.EXE, etc.) that use it.
 
PRF is mainly for programmers. The Fastgraph package does include some DOS utilities (SNAPSHOT.EXE, CLIP.EXE, etc.) that use it.
  
There might be multiple variants of PRF, some of which are more portable than others. (More research needed.)
+
== Format details ==
 +
The PRF formats are [[raw bitmap]] formats, albeit compressed. They generally require external information in order to decode them usefully. The entire file consists of compressed image data. The rows are ordered from bottom up.
 +
 
 +
It is possible for an encoder to make a file more portable by stashing extra data in it, using run counts of 0.
 +
 
 +
'''Pixel Run Format''': 8 bits per pixel. The file consists of pairs of bytes. The first byte of a pair is the color value, and the second is the repeat count.
 +
 
 +
'''Packed Pixel Run Format''': 4 bits per pixel. The file consists of triplets of bytes. The first byte of three contains two color values, the second is the repeat count for one of the colors, and the third is the repeat count for the other color.
  
 
== Identification ==
 
== Identification ==
Some PRF files begin with (hex) bytes {{magic|46 00 41 00 53 00 54 00 47 00 52 00 41 00 46 00}}. But others do not.
+
There's no good way to identify an SPR or PPR file based on its contents.
 +
 
 +
However, there is a profile of SPR, apparently associated with IMPROCES, which starts with a 16-byte signature: (hex) bytes {{magic|46 00 41 00 53 00 54 00 47 00 52 00 41 00 46 00}}.
 +
 
 +
There is also an identifiable profile of PPR used by [[Young Picasso]].
  
 
== Software ==
 
== Software ==
Line 37: Line 48:
  
 
== Sample files ==
 
== Sample files ==
* https://telparia.com/fileFormatSamples/image/fastgraphPRF/
+
* {{DexvertSamples|image/fastgraphPRF}}
 
* {{CdTextfiles|swextrav1993/disk1/grprogs/fgl105c.zip|fgl105c.zip}} → CORAL.*
 
* {{CdTextfiles|swextrav1993/disk1/grprogs/fgl105c.zip|fgl105c.zip}} → CORAL.*
 
* {{CdTextfiles|swextrav1993/disk1/grprogs/fgdemo10.zip|fgdemo10.zip}} → CASINO.PPR
 
* {{CdTextfiles|swextrav1993/disk1/grprogs/fgdemo10.zip|fgdemo10.zip}} → CASINO.PPR
 
* {{CdTextfiles|swextrav1993/disk1/grprogs/fg_xmas.zip|fg_xmas.zip}} → XMAS.PPR
 
* {{CdTextfiles|swextrav1993/disk1/grprogs/fg_xmas.zip|fg_xmas.zip}} → XMAS.PPR
 +
* {{CdTextfiles|simtel/simtel0595/DISC1/EDUCATIN/ADDALOTM.ZIP|ADDALOTM.ZIP}} → ADDALOTM.002 ([[LHA/LHarc self-extracting archive]]) → *.prf
  
 
== Links ==
 
== Links ==
 
* [http://www.fastgraph.com/ Fastgraph website]
 
* [http://www.fastgraph.com/ Fastgraph website]

Latest revision as of 19:34, 16 February 2024

File Format
Name Fastgraph Pixel Run Format
Ontology
Extension(s) .spr, .ppr, .prf
Released ≤1991

Fastgraph Pixel Run Format and Fastgraph Packed Pixel Run Format are raster graphics formats associated with the Fastgraph and Fastgraph/Light graphics toolkits from Ted Gruber Software. In this article, we'll use the abbreviation PRF to refer to the formats.

Contents

[edit] Discussion

The preferred filename extensions seem to be .SPR (probably for Standard Pixel Run) and .PPR, though others are also used.

Though the product is named "Fastgraph", some filenames use the string "FASTGRAF".

PRF is mainly for programmers. The Fastgraph package does include some DOS utilities (SNAPSHOT.EXE, CLIP.EXE, etc.) that use it.

[edit] Format details

The PRF formats are raw bitmap formats, albeit compressed. They generally require external information in order to decode them usefully. The entire file consists of compressed image data. The rows are ordered from bottom up.

It is possible for an encoder to make a file more portable by stashing extra data in it, using run counts of 0.

Pixel Run Format: 8 bits per pixel. The file consists of pairs of bytes. The first byte of a pair is the color value, and the second is the repeat count.

Packed Pixel Run Format: 4 bits per pixel. The file consists of triplets of bytes. The first byte of three contains two color values, the second is the repeat count for one of the colors, and the third is the repeat count for the other color.

[edit] Identification

There's no good way to identify an SPR or PPR file based on its contents.

However, there is a profile of SPR, apparently associated with IMPROCES, which starts with a 16-byte signature: (hex) bytes 46 00 41 00 53 00 54 00 47 00 52 00 41 00 46 00.

There is also an identifiable profile of PPR used by Young Picasso.

[edit] Software

[edit] Sample files

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox