<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.temlib.org/AtariForumWiki/index.php?action=history&amp;feed=atom&amp;title=MacPaint_file_format</id>
	<title>MacPaint file format - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.temlib.org/AtariForumWiki/index.php?action=history&amp;feed=atom&amp;title=MacPaint_file_format"/>
	<link rel="alternate" type="text/html" href="https://www.temlib.org/AtariForumWiki/index.php?title=MacPaint_file_format&amp;action=history"/>
	<updated>2026-07-27T07:31:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://www.temlib.org/AtariForumWiki/index.php?title=MacPaint_file_format&amp;diff=14932&amp;oldid=prev</id>
		<title>&gt;Lp: New page</title>
		<link rel="alternate" type="text/html" href="https://www.temlib.org/AtariForumWiki/index.php?title=MacPaint_file_format&amp;diff=14932&amp;oldid=prev"/>
		<updated>2017-01-03T00:29:04Z</updated>

		<summary type="html">&lt;p&gt;New page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
MacPaint        *.MAC&lt;br /&gt;
 &lt;br /&gt;
1 long          version number [0=ignore header, 2=header valid]&lt;br /&gt;
38 * 8 bytes    8x8 brush/fill patterns.  Each byte is a pattern row,&lt;br /&gt;
                and the bytes map the pattern rows top to bottom.  The&lt;br /&gt;
                patterns are stored in the order they appear at the bottom&lt;br /&gt;
                of the MacPaint screen top to bottom, left to right.&lt;br /&gt;
204 bytes       unused&lt;br /&gt;
-------------&lt;br /&gt;
512 bytes       total for header&lt;br /&gt;
&lt;br /&gt;
&amp;lt; 51200 bytes   compressed bitmap data&lt;br /&gt;
-------------&lt;br /&gt;
&amp;lt; 51712 bytes   total&lt;br /&gt;
 &lt;br /&gt;
NOTE:  The version number is actually a flag to MacPaint to indicate if&lt;br /&gt;
the brush/fill patterns are present in the file.  If the version is 0,&lt;br /&gt;
the default patterns are used.  Therefore you can simply save a MacPaint&lt;br /&gt;
file by writing a blank header (512 $00 bytes), followed by the packed&lt;br /&gt;
image data.&lt;br /&gt;
&lt;br /&gt;
Bitmap compression:&lt;br /&gt;
 &lt;br /&gt;
   The bitmap data is for a 576 pixel by 720 pixel monochrome image.&lt;br /&gt;
The packing method is PackBits (see below).  There are 72 bytes per&lt;br /&gt;
scan line.  Each bit represents one pixel; 0 = white, 1 = black.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
See also [[PackBits Compression Algorithm]]&lt;br /&gt;
&lt;br /&gt;
Back to [[ST Picture Formats]]&lt;/div&gt;</summary>
		<author><name>&gt;Lp</name></author>
	</entry>
</feed>