PaintShop (Atari ST)

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Identification)
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{FormatInfo
 
{{FormatInfo
|name=PaintShop
 
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Graphics
 
|subcat=Graphics
Line 10: Line 9:
 
== Identification ==
 
== Identification ==
 
<code>.psc</code> files begin with ASCII "{{magic|tm89PS}}".
 
<code>.psc</code> files begin with ASCII "{{magic|tm89PS}}".
 
<pre>
 
PaintShop plus    *.PSC (st high resolution)
 
                  *.DA4 (st high resolution, double height)
 
 
*.DA4 files are simple screen dumps:
 
 
64000 bytes    image data (uncompressed, thus 640x800)
 
-----------
 
64000 bytes    total for file
 
 
*.PSC files are compressed:
 
 
6 bytes    file id ["tm89PS"]
 
1 word      version  [0xCB = 2.03]
 
1 byte      ? [always 2]
 
1 byte      ? [always 1]
 
1 word      image width in pixels - 1 [always 639]
 
1 word      image height in pixels - 1 [always 399]
 
--------
 
14 bytes    total for header
 
 
?          image data:
 
The image data is not compressed based on pixels, but rather scan lines. Starting at the
 
top and working downward. There are 9 unique codes:
 
 
Codes:
 
  0    set current line all white (0x00)
 
10    copy line above (next byte + 1) times
 
12    copy line above (next byte + 256 + 1) times
 
99    copy from stream 80 * 400 lines (full image)
 
100    fill next line with (next byte) as line style [(b << 8 ) | b]
 
102    fill next line with (next 2 bytes) as line style [(b1 << 8) | b2]
 
110    copy from stream 80 bytes to current line
 
200    set current line all black (0xFF)
 
255    marks end of file (stop process codes)
 
 
'line style' mentioned above is a reference to VDI function vsl_udsty(), set user-defined
 
line style pattern. Essentially, fill that line with the bit pattern.
 
</pre>
 
  
 
== Software ==
 
== Software ==
Line 58: Line 17:
  
 
== Links ==
 
== Links ==
* [http://www.atariuptodate.de/en/675/paintshop-plus PAintShop Plus v2.03]
+
* [http://www.atariuptodate.de/en/675/paintshop-plus PaintShop Plus v2.03]
* [http://www.atari-wiki.com/index.php/PaintShop_file_format PaintShop_file_format]
+
 
* [http://webcache.googleusercontent.com/search?q=cache%3Ahttp%3A%2F%2Fwww.atari-wiki.com%2Findex.php%2FPaintShop_file_format&oq=cache%3Ahttp%3A%2F%2Fwww.atari-wiki.com%2Findex.php%2FPaintShop_file_format&aqs=chrome..69i57j69i58.1423j0j4&sourceid=chrome&ie=UTF-8 PaintShop_file_format (google cache)]
+
[[Category:Atari graphics formats]]

Revision as of 16:23, 4 September 2020

File Format
Name PaintShop (Atari ST)
Ontology
Extension(s) .da4 .psc
Released 1992

PaintShop is a graphics program for the Atari ST line of computers.

Contents

Identification

.psc files begin with ASCII "tm89PS".

Software

Sample files

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox