diff options
Diffstat (limited to 'examples/bmpsuite')
44 files changed, 146 insertions, 0 deletions
diff --git a/examples/bmpsuite/g01bg.bmp b/examples/bmpsuite/g01bg.bmp Binary files differnew file mode 100644 index 0000000..a720347 --- /dev/null +++ b/examples/bmpsuite/g01bg.bmp diff --git a/examples/bmpsuite/g01bw.bmp b/examples/bmpsuite/g01bw.bmp Binary files differnew file mode 100644 index 0000000..06189a6 --- /dev/null +++ b/examples/bmpsuite/g01bw.bmp diff --git a/examples/bmpsuite/g01p1.bmp b/examples/bmpsuite/g01p1.bmp Binary files differnew file mode 100644 index 0000000..706b4a1 --- /dev/null +++ b/examples/bmpsuite/g01p1.bmp diff --git a/examples/bmpsuite/g01wb.bmp b/examples/bmpsuite/g01wb.bmp Binary files differnew file mode 100644 index 0000000..2f05b43 --- /dev/null +++ b/examples/bmpsuite/g01wb.bmp diff --git a/examples/bmpsuite/g04.bmp b/examples/bmpsuite/g04.bmp Binary files differnew file mode 100644 index 0000000..a064f66 --- /dev/null +++ b/examples/bmpsuite/g04.bmp diff --git a/examples/bmpsuite/g04p4.bmp b/examples/bmpsuite/g04p4.bmp Binary files differnew file mode 100644 index 0000000..4c1096b --- /dev/null +++ b/examples/bmpsuite/g04p4.bmp diff --git a/examples/bmpsuite/g04rle.bmp b/examples/bmpsuite/g04rle.bmp Binary files differnew file mode 100644 index 0000000..7239fa6 --- /dev/null +++ b/examples/bmpsuite/g04rle.bmp diff --git a/examples/bmpsuite/g08.bmp b/examples/bmpsuite/g08.bmp Binary files differnew file mode 100644 index 0000000..3be9a20 --- /dev/null +++ b/examples/bmpsuite/g08.bmp diff --git a/examples/bmpsuite/g08offs.bmp b/examples/bmpsuite/g08offs.bmp Binary files differnew file mode 100644 index 0000000..71def41 --- /dev/null +++ b/examples/bmpsuite/g08offs.bmp diff --git a/examples/bmpsuite/g08os2.bmp b/examples/bmpsuite/g08os2.bmp Binary files differnew file mode 100644 index 0000000..f7f9f57 --- /dev/null +++ b/examples/bmpsuite/g08os2.bmp diff --git a/examples/bmpsuite/g08p256.bmp b/examples/bmpsuite/g08p256.bmp Binary files differnew file mode 100644 index 0000000..a129bbc --- /dev/null +++ b/examples/bmpsuite/g08p256.bmp diff --git a/examples/bmpsuite/g08p64.bmp b/examples/bmpsuite/g08p64.bmp Binary files differnew file mode 100644 index 0000000..9d3affd --- /dev/null +++ b/examples/bmpsuite/g08p64.bmp diff --git a/examples/bmpsuite/g08pi256.bmp b/examples/bmpsuite/g08pi256.bmp Binary files differnew file mode 100644 index 0000000..45df3f8 --- /dev/null +++ b/examples/bmpsuite/g08pi256.bmp diff --git a/examples/bmpsuite/g08pi64.bmp b/examples/bmpsuite/g08pi64.bmp Binary files differnew file mode 100644 index 0000000..52baf91 --- /dev/null +++ b/examples/bmpsuite/g08pi64.bmp diff --git a/examples/bmpsuite/g08res11.bmp b/examples/bmpsuite/g08res11.bmp Binary files differnew file mode 100644 index 0000000..f03d0f3 --- /dev/null +++ b/examples/bmpsuite/g08res11.bmp diff --git a/examples/bmpsuite/g08res21.bmp b/examples/bmpsuite/g08res21.bmp Binary files differnew file mode 100644 index 0000000..61198e5 --- /dev/null +++ b/examples/bmpsuite/g08res21.bmp diff --git a/examples/bmpsuite/g08res22.bmp b/examples/bmpsuite/g08res22.bmp Binary files differnew file mode 100644 index 0000000..1af0ecc --- /dev/null +++ b/examples/bmpsuite/g08res22.bmp diff --git a/examples/bmpsuite/g08rle.bmp b/examples/bmpsuite/g08rle.bmp Binary files differnew file mode 100644 index 0000000..082f7f4 --- /dev/null +++ b/examples/bmpsuite/g08rle.bmp diff --git a/examples/bmpsuite/g08s0.bmp b/examples/bmpsuite/g08s0.bmp Binary files differnew file mode 100644 index 0000000..4b2c521 --- /dev/null +++ b/examples/bmpsuite/g08s0.bmp diff --git a/examples/bmpsuite/g08w124.bmp b/examples/bmpsuite/g08w124.bmp Binary files differnew file mode 100644 index 0000000..1896035 --- /dev/null +++ b/examples/bmpsuite/g08w124.bmp diff --git a/examples/bmpsuite/g08w125.bmp b/examples/bmpsuite/g08w125.bmp Binary files differnew file mode 100644 index 0000000..b348a7c --- /dev/null +++ b/examples/bmpsuite/g08w125.bmp diff --git a/examples/bmpsuite/g08w126.bmp b/examples/bmpsuite/g08w126.bmp Binary files differnew file mode 100644 index 0000000..3628d66 --- /dev/null +++ b/examples/bmpsuite/g08w126.bmp diff --git a/examples/bmpsuite/g16bf555.bmp b/examples/bmpsuite/g16bf555.bmp Binary files differnew file mode 100644 index 0000000..639a57f --- /dev/null +++ b/examples/bmpsuite/g16bf555.bmp diff --git a/examples/bmpsuite/g16bf565.bmp b/examples/bmpsuite/g16bf565.bmp Binary files differnew file mode 100644 index 0000000..cb0ea24 --- /dev/null +++ b/examples/bmpsuite/g16bf565.bmp diff --git a/examples/bmpsuite/g16def555.bmp b/examples/bmpsuite/g16def555.bmp Binary files differnew file mode 100644 index 0000000..a5a3195 --- /dev/null +++ b/examples/bmpsuite/g16def555.bmp diff --git a/examples/bmpsuite/g24.bmp b/examples/bmpsuite/g24.bmp Binary files differnew file mode 100644 index 0000000..d6d9e6a --- /dev/null +++ b/examples/bmpsuite/g24.bmp diff --git a/examples/bmpsuite/g32bf.bmp b/examples/bmpsuite/g32bf.bmp Binary files differnew file mode 100644 index 0000000..0f41534 --- /dev/null +++ b/examples/bmpsuite/g32bf.bmp diff --git a/examples/bmpsuite/g32def.bmp b/examples/bmpsuite/g32def.bmp Binary files differnew file mode 100644 index 0000000..9524f76 --- /dev/null +++ b/examples/bmpsuite/g32def.bmp diff --git a/examples/bmpsuite/png/01bg.png b/examples/bmpsuite/png/01bg.png Binary files differnew file mode 100644 index 0000000..0b9cf9a --- /dev/null +++ b/examples/bmpsuite/png/01bg.png diff --git a/examples/bmpsuite/png/01bw.png b/examples/bmpsuite/png/01bw.png Binary files differnew file mode 100644 index 0000000..9f2e57a --- /dev/null +++ b/examples/bmpsuite/png/01bw.png diff --git a/examples/bmpsuite/png/01p1.png b/examples/bmpsuite/png/01p1.png Binary files differnew file mode 100644 index 0000000..0103e79 --- /dev/null +++ b/examples/bmpsuite/png/01p1.png diff --git a/examples/bmpsuite/png/04.png b/examples/bmpsuite/png/04.png Binary files differnew file mode 100644 index 0000000..14beb91 --- /dev/null +++ b/examples/bmpsuite/png/04.png diff --git a/examples/bmpsuite/png/04p4.png b/examples/bmpsuite/png/04p4.png Binary files differnew file mode 100644 index 0000000..8dbcafa --- /dev/null +++ b/examples/bmpsuite/png/04p4.png diff --git a/examples/bmpsuite/png/08.png b/examples/bmpsuite/png/08.png Binary files differnew file mode 100644 index 0000000..06545a0 --- /dev/null +++ b/examples/bmpsuite/png/08.png diff --git a/examples/bmpsuite/png/08p64.png b/examples/bmpsuite/png/08p64.png Binary files differnew file mode 100644 index 0000000..49f0802 --- /dev/null +++ b/examples/bmpsuite/png/08p64.png diff --git a/examples/bmpsuite/png/08w124.png b/examples/bmpsuite/png/08w124.png Binary files differnew file mode 100644 index 0000000..8da58fb --- /dev/null +++ b/examples/bmpsuite/png/08w124.png diff --git a/examples/bmpsuite/png/08w125.png b/examples/bmpsuite/png/08w125.png Binary files differnew file mode 100644 index 0000000..6ebb4f8 --- /dev/null +++ b/examples/bmpsuite/png/08w125.png diff --git a/examples/bmpsuite/png/08w126.png b/examples/bmpsuite/png/08w126.png Binary files differnew file mode 100644 index 0000000..ca9c9b9 --- /dev/null +++ b/examples/bmpsuite/png/08w126.png diff --git a/examples/bmpsuite/png/16bf555.png b/examples/bmpsuite/png/16bf555.png Binary files differnew file mode 100644 index 0000000..aaa0dff --- /dev/null +++ b/examples/bmpsuite/png/16bf555.png diff --git a/examples/bmpsuite/png/16bf565.png b/examples/bmpsuite/png/16bf565.png Binary files differnew file mode 100644 index 0000000..52d90e3 --- /dev/null +++ b/examples/bmpsuite/png/16bf565.png diff --git a/examples/bmpsuite/png/24.png b/examples/bmpsuite/png/24.png Binary files differnew file mode 100644 index 0000000..e9fc4db --- /dev/null +++ b/examples/bmpsuite/png/24.png diff --git a/examples/bmpsuite/png/reference.html b/examples/bmpsuite/png/reference.html new file mode 100644 index 0000000..7117b6c --- /dev/null +++ b/examples/bmpsuite/png/reference.html @@ -0,0 +1,54 @@ +<html>
+
+<head>
+<title>BMP Suite Reference Images</title>
+</head>
+
+<body>
+<h1>BMP Suite Reference Images</h1>
+
+<table border=1>
+<tr><th>File</th><th>bpp</th><th>Comments</th><th>Reference</th></tr>
+
+<tr><td>g01bw.bmp</td><td>1</td><td>black and white palette (#000000,#FFFFFF)</td><td><img src=01bw.png></td></tr>
+<tr><td>g01wb.bmp</td><td>1</td><td>white and black palette (#FFFFFF,#000000). Should look the same as g01bw, not inverted.</td><td><img src=01bw.png></td></tr>
+<tr><td>g01bg.bmp</td><td>1</td><td>blue and green palette (#4040FF,#40FF40)</td><td><img src=01bg.png></td></tr>
+<tr><td>g01p1.bmp</td><td>1</td><td>1-color (blue) palette (#4040FF)</td><td><img src=01p1.png></td></tr>
+
+<tr><td>g04.bmp</td><td>4</td><td>basic 4bpp (16 color) image</td><td><img src=04.png></td></tr>
+<tr><td>g04rle.bmp</td><td>4</td><td>RLE compressed.</td><td><img src=04.png></td></tr>
+<tr><td>g04p4.bmp</td><td>4</td><td>4-color grayscale palette</td><td><img src=04p4.png></td></tr>
+
+<tr><td>g08.bmp</td><td>8</td><td>basic 8bpp (256 color) image</td><td><img src=08.png></td></tr>
+<tr><td>g08p256.bmp</td><td>8</td><td>biClrUsed=256, biClrImportant=0 [=256]</td><td><img src=08.png></td></tr>
+<tr><td>g08pi256.bmp</td><td>8</td><td>biClrUsed=256, biClrImportant=256</td><td><img src=08.png></td></tr>
+<tr><td>g08pi64.bmp</td><td>8</td><td>biClrUsed=256, biClrImportant=64. It's barely possible that some sophisticated viewers may display this image in grayscale, if there are a limited number of colors available.</td><td><img src=08.png></td></tr>
+<tr><td>g08rle.bmp</td><td>8</td><td>RLE compressed.</td><td><img src=08.png></td></tr>
+<tr><td>g08os2.bmp</td><td>8</td><td>OS/2-style bitmap. This is an obsolete variety of BMP that is still encountered sometimes. It has 3-byte palette entries (instead of 4), and 16-bit width/height fields (instead of 32).</td><td><img src=08.png></td></tr>
+<tr><td>g08res22.bmp</td><td>8</td><td>resolution 7874x7874 pixels/meter (200x200 dpi)</td><td><img src=08.png></td></tr>
+<tr><td>g08res11.bmp</td><td>8</td><td>resolution 3937x3937 pixels/meter (100x100 dpi)</td><td><img src=08.png></td></tr>
+<tr><td>g08res21.bmp</td><td>8</td><td>resolution 7874x3937 pixels/meter (200x100 dpi). Some programs (e.g. Imaging for Windows) may display this image stretched vertically, which is the optimal thing to do if the program is primarily a viewer, rather than an editor.</td><td><img src=08.png></td></tr>
+<tr><td>g08s0.bmp</td><td>8</td><td>bits size not given (set to 0). This is legal for uncompressed bitmaps.</td><td><img src=08.png></td></tr>
+<tr><td>g08offs.bmp</td><td>8</td><td>bfOffBits in header not set to the usual value. There are 100 extra unused bytes between palette and bits.</td><td><img src=08.png></td></tr>
+<tr><td>g08w126.bmp</td><td>8</td><td>size 126x63 (right and bottom slightly clipped)</td><td><img src=08w126.png></td></tr>
+<tr><td>g08w125.bmp</td><td>8</td><td>size 125x62</td><td><img src=08w125.png></td></tr>
+<tr><td>g08w124.bmp</td><td>8</td><td>size 124x61</td><td><img src=08w124.png></td></tr>
+<tr><td>g08p64.bmp</td><td>8</td><td>64-color grayscale palette</td><td><img src=08p64.png></td></tr>
+
+<tr><td>g16def555.bmp</td><td>16</td><td>15-bit color (1 bit wasted), biCompression=BI_RGB (no bitfields, defaults to 5-5-5)</td><td><img src=16bf555.png></td></tr>
+<tr><td>g16bf555.bmp</td><td>16</td><td>15-bit color, biCompression=BI_BITFIELDS (bitfields indicate 5-5-5)</td><td><img src=16bf555.png></td></tr>
+<tr><td>g16bf565.bmp</td><td>16</td><td>16-bit color, biCompression=BI_BITFIELDS (bitfields indicate 5-6-5)</td><td><img src=16bf565.png></td></tr>
+
+<tr><td>g24.bmp</td><td>24</td><td>24-bit color (BGR)</td><td><img src=24.png></td></tr>
+<tr><td>g32def.bmp</td><td>32</td><td>24-bit color (8 bits wasted), biCompression=BI_RGB (no bitfields, defaults to BGRx)</td><td><img src=24.png></td></tr>
+<tr><td>g32bf.bmp</td><td>32</td><td>24-bit color (8 bits wasted), biCompression=BI_BITFIELDS (bitfields indicate BGRx)</td><td><img src=24.png></td></tr>
+
+
+</table>
+
+<hr>
+<p><small><i>By <a href="http://pobox.com/%7Ejason1/">Jason Summers</a>,
+4/2001</i></small></p>
+
+</body>
+</html>
diff --git a/examples/bmpsuite/readme.txt b/examples/bmpsuite/readme.txt new file mode 100644 index 0000000..347aded --- /dev/null +++ b/examples/bmpsuite/readme.txt @@ -0,0 +1,38 @@ +BMP Suite - sample BMP image files
+By Jason Summers <jason1@pobox.com>
+
+Version: 2001.04.27
+
+For more information: http://pobox.com/~jason1/bmpsuite/
+
+Contents
+--------
+
+g01bw.bmp
+g01wb.bmp
+g01bg.bmp
+g01p1.bmp
+g04.bmp
+g04p4.bmp
+g08.bmp
+g08offs.bmp
+g08os2.bmp
+g08w126.bmp
+g08w125.bmp
+g08w124.bmp
+g08p256.bmp
+g08pi256.bmp
+g08pi64.bmp
+g08res22.bmp
+g08res21.bmp
+g08res11.bmp
+g08p64.bmp
+g08s0.bmp
+g16def555.bmp
+g16bf555.bmp
+g16bf565.bmp
+g024.bmp
+g32def.bmp
+g32bf.bmp
+
+-- end --
diff --git a/examples/bmpsuite/test.html b/examples/bmpsuite/test.html new file mode 100644 index 0000000..8abb614 --- /dev/null +++ b/examples/bmpsuite/test.html @@ -0,0 +1,54 @@ +<html>
+
+<head>
+<title>BMP Suite Images</title>
+</head>
+
+<body>
+<h1>BMP Suite Images</h1>
+
+<table border=1>
+<tr><th>File</th><th>bpp</th><th>Comments</th><th>Image</th></tr>
+
+<tr><td>g01bw.bmp</td><td>1</td><td>black and white palette (#000000,#FFFFFF)</td><td><img src=g01bw.bmp></td></tr>
+<tr><td>g01wb.bmp</td><td>1</td><td>white and black palette (#FFFFFF,#000000). Should look the same as g01bw, not inverted.</td><td><img src=g01wb.bmp></td></tr>
+<tr><td>g01bg.bmp</td><td>1</td><td>blue and green palette (#4040FF,#40FF40)</td><td><img src=g01bg.bmp></td></tr>
+<tr><td>g01p1.bmp</td><td>1</td><td>1-color (blue) palette (#4040FF)</td><td><img src=g01p1.bmp></td></tr>
+
+<tr><td>g04.bmp</td><td>4</td><td>basic 4bpp (16 color) image</td><td><img src=g04.bmp></td></tr>
+<tr><td>g04rle.bmp</td><td>4</td><td>RLE compressed.</td><td><img src=g04rle.bmp></td></tr>
+<tr><td>g04p4.bmp</td><td>4</td><td>4-color grayscale palette</td><td><img src=g04p4.bmp></td></tr>
+
+<tr><td>g08.bmp</td><td>8</td><td>basic 8bpp (256 color) image</td><td><img src=g08.bmp></td></tr>
+<tr><td>g08p256.bmp</td><td>8</td><td>biClrUsed=256, biClrImportant=0 [=256]</td><td><img src=g08p256.bmp></td></tr>
+<tr><td>g08pi256.bmp</td><td>8</td><td>biClrUsed=256, biClrImportant=256</td><td><img src=g08pi256.bmp></td></tr>
+<tr><td>g08pi64.bmp</td><td>8</td><td>biClrUsed=256, biClrImportant=64. It's barely possible that some sophisticated viewers may display this image in grayscale, if there are a limited number of colors available.</td><td><img src=g08pi64.bmp></td></tr>
+<tr><td>g08rle.bmp</td><td>8</td><td>RLE compressed.</td><td><img src=g08rle.bmp></td></tr>
+<tr><td>g08os2.bmp</td><td>8</td><td>OS/2-style bitmap. This is an obsolete variety of BMP that is still encountered sometimes. It has 3-byte palette entries (instead of 4), and 16-bit width/height fields (instead of 32).</td><td><img src=g08os2.bmp></td></tr>
+<tr><td>g08res22.bmp</td><td>8</td><td>resolution 7874x7874 pixels/meter (200x200 dpi)</td><td><img src=g08res22.bmp></td></tr>
+<tr><td>g08res11.bmp</td><td>8</td><td>resolution 3937x3937 pixels/meter (100x100 dpi)</td><td><img src=g08res11.bmp></td></tr>
+<tr><td>g08res21.bmp</td><td>8</td><td>resolution 7874x3937 pixels/meter (200x100 dpi). Some programs (e.g. Imaging for Windows) may display this image stretched vertically, which is the optimal thing to do if the program is primarily a viewer, rather than an editor.</td><td><img src=g08res21.bmp></td></tr>
+<tr><td>g08s0.bmp</td><td>8</td><td>bits size not given (set to 0). This is legal for uncompressed bitmaps.</td><td><img src=g08s0.bmp></td></tr>
+<tr><td>g08offs.bmp</td><td>8</td><td>bfOffBits in header not set to the usual value. There are 100 extra unused bytes between palette and bits.</td><td><img src=g08offs.bmp></td></tr>
+<tr><td>g08w126.bmp</td><td>8</td><td>size 126x63 (right and bottom slightly clipped)</td><td><img src=g08w126.bmp></td></tr>
+<tr><td>g08w125.bmp</td><td>8</td><td>size 125x62</td><td><img src=g08w125.bmp></td></tr>
+<tr><td>g08w124.bmp</td><td>8</td><td>size 124x61</td><td><img src=g08w124.bmp></td></tr>
+<tr><td>g08p64.bmp</td><td>8</td><td>64-color grayscale palette</td><td><img src=g08p64.bmp></td></tr>
+
+<tr><td>g16def555.bmp</td><td>16</td><td>15-bit color (1 bit wasted), biCompression=BI_RGB (no bitfields, defaults to 5-5-5)</td><td><img src=g16def555.bmp></td></tr>
+<tr><td>g16bf555.bmp</td><td>16</td><td>15-bit color, biCompression=BI_BITFIELDS (bitfields indicate 5-5-5)</td><td><img src=g16bf555.bmp></td></tr>
+<tr><td>g16bf565.bmp</td><td>16</td><td>16-bit color, biCompression=BI_BITFIELDS (bitfields indicate 5-6-5)</td><td><img src=g16bf565.bmp></td></tr>
+
+<tr><td>g24.bmp</td><td>24</td><td>24-bit color (BGR)</td><td><img src=g24.bmp></td></tr>
+<tr><td>g32def.bmp</td><td>32</td><td>24-bit color (8 bits wasted), biCompression=BI_RGB (no bitfields, defaults to BGRx)</td><td><img src=g32def.bmp></tr>
+<tr><td>g32bf.bmp</td><td>32</td><td>24-bit color (8 bits wasted), biCompression=BI_BITFIELDS (bitfields indicate BGRx)</td><td><img src=g32bf.bmp></tr>
+
+
+</table>
+
+<hr>
+<p><small><i>By <a href="http://pobox.com/%7Ejason1/">Jason Summers</a>,
+4/2001</i></small></p>
+
+</body>
+</html>
|