Pcx.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <?xml-stylesheet type="text/xsl" href="../Xsl/doc2html.xsl"?>
  3. <doc>
  4. <title>ZSoft Paintbrush Image</title>
  5. <chapter>
  6. <title>ZSoft Paintbrush Image</title>
  7. <par>
  8. <b>PCX</b> was the native file format for <b>ZSoft PC Paintbrush</b> graphics editor
  9. which was popular in old DOS days.
  10. Most PCX files use a color palette, but the format has also been extended
  11. to support true color images. It uses a simple run-length
  12. encoding as compression.
  13. PCX was quite popular on early DOS and Windows systems (it is
  14. native texture file format of Unreal 1 engine)
  15. but it has been largely replaced by more powerful formats like
  16. PNG and JPEG. Imaging supports only loading of PCX files
  17. (I don't wont this venerable format to spread).
  18. </par>
  19. <table>
  20. <title>PCX File Format Support</title>
  21. <row>
  22. <th>Format</th>
  23. <th>TImageFormat equivalent</th>
  24. </row>
  25. <row>
  26. <td>1 bit mono</td>
  27. <td><icode>ifIndex8</icode></td>
  28. </row>
  29. <row>
  30. <td>2 bit indexed</td>
  31. <td><icode>ifIndex8</icode></td>
  32. </row>
  33. <row>
  34. <td>4 bit indexed (rare)</td>
  35. <td><icode>ifIndex8</icode></td>
  36. </row>
  37. <row>
  38. <td>8 bit indexed</td>
  39. <td><icode>ifIndex8</icode></td>
  40. </row>
  41. <row>
  42. <td>24 bit RGB</td>
  43. <td><icode>ifR8G8B8</icode></td>
  44. </row>
  45. <row>
  46. <td>32 bit ARGB (rare)</td>
  47. <td><icode>ifA8R8G8B8</icode></td>
  48. </row>
  49. </table>
  50. </chapter>
  51. </doc>