image_bmp.html 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
  6. <title>BMP image test suite</title>
  7. <style type="text/css">
  8. body {
  9. font-family: 'trebuchet ms', verdana, sans-serif;
  10. font-size: 12px;
  11. }
  12. table {
  13. border-collapse: collapse;
  14. }
  15. td {
  16. border: 1px solid #999;
  17. text-align: center;
  18. }
  19. </style>
  20. </head>
  21. <body>
  22. <p>
  23. This test suite was grabbed from <a href="http://wvnvaxa.wvnet.edu/vmswww/bmp.html">http://wvnvaxa.wvnet.edu/vmswww/bmp.html</a>.
  24. </p>
  25. <table>
  26. <tr>
  27. <th></th>
  28. <th>BMP</th>
  29. <th>PNG</th>
  30. </tr>
  31. <tr>
  32. <td>1 bit (2 color)</td>
  33. <td><img src="images/bmp/test1.bmp" /></td>
  34. <td><img src="images/bmp/test1.png" /></td>
  35. </tr>
  36. <tr>
  37. <td>4 bit</td>
  38. <td><img src="images/bmp/test4.bmp" /></td>
  39. <td><img src="images/bmp/test4.png" /></td>
  40. </tr>
  41. <tr>
  42. <td>8 bit</td>
  43. <td><img src="images/bmp/test8.bmp" /></td>
  44. <td><img src="images/bmp/test8.png" /></td>
  45. </tr>
  46. <tr>
  47. <td>16 bit</td>
  48. <td><img src="images/bmp/test16.bmp" /></td>
  49. <td><img src="images/bmp/test16.png" /></td>
  50. </tr>
  51. <tr>
  52. <td>24 bit</td>
  53. <td><img src="images/bmp/test24.bmp" /></td>
  54. <td><img src="images/bmp/test24.png" /></td>
  55. </tr>
  56. <tr>
  57. <td>32 bit</td>
  58. <td><img src="images/bmp/test32.bmp" /></td>
  59. <td><img src="images/bmp/test32.png" /></td>
  60. </tr>
  61. <tr>
  62. <td>4 bit compressed</td>
  63. <td><img src="images/bmp/testcompress4.bmp" /></td>
  64. <td><img src="images/bmp/testcompress4.png" /></td>
  65. </tr>
  66. <tr>
  67. <td>8 bit compressed</td>
  68. <td><img src="images/bmp/testcompress8.bmp" /></td>
  69. <td><img src="images/bmp/testcompress8.png" /></td>
  70. </tr>
  71. <!-- The two bitmap formats below make an fatal error -->
  72. <!--<tr>
  73. <td>8 bit OS/2 version 1</td>
  74. <td><img src="images/bmp/test8os2.bmp" /></td>
  75. <td><img src="images/bmp/test8os2.png" /></td>
  76. </tr>
  77. <tr>
  78. <td>4 bit OS/2 version 2</td>
  79. <td><img src="images/bmp/test4os2v2.bmp" /></td>
  80. <td><img src="images/bmp/test4os2v2.png" /></td>
  81. </tr>-->
  82. <tr>
  83. <td>16 bit 555 bitfield</td>
  84. <td><img src="images/bmp/test16bf555.bmp" /></td>
  85. <td><img src="images/bmp/test16bf555.png" /></td>
  86. </tr>
  87. <tr>
  88. <td>16 bit 565 bitfield</td>
  89. <td><img src="images/bmp/test16bf565.bmp" /></td>
  90. <td><img src="images/bmp/test16bf565.png" /></td>
  91. </tr>
  92. <tr>
  93. <td>32 bit 888 bitfield</td>
  94. <td><img src="images/bmp/test32bf.bmp" /></td>
  95. <td><img src="images/bmp/test32bf.png" /></td>
  96. </tr>
  97. <tr>
  98. <td>32 bit 888 bitfield version 4</td>
  99. <td><img src="images/bmp/test32bfv4.bmp" width="300" /></td>
  100. <td><img src="images/bmp/test32bfv4.png" width="300" /></td>
  101. </tr>
  102. <tr>
  103. <td>32 bit version 5</td>
  104. <td><img src="images/bmp/test32v5.bmp" width="300" /></td>
  105. <td><img src="images/bmp/test32v5.png" width="300" /></td>
  106. </tr>
  107. <tr>
  108. <td>32 bit transparent version 4</td>
  109. <td><img src="images/bmp/trans.bmp" width="300" /></td>
  110. <td><img src="images/bmp/trans.png" width="300" /></td>
  111. </tr>
  112. </table>
  113. <p>
  114. Note that as of December 2005, Mozilla and Internet Explorer
  115. do not support transparent BMP images.
  116. </p>
  117. <p>
  118. The images (except for the last three and the OS/2 version 2 image)
  119. are from Jason Summer's <a href="http://entropymine.com/jason/bmpsuite/">BMP Suite</a>.
  120. </p>
  121. </body>
  122. </html>