You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

140 regels
5.6 KiB

  1. <?php header("Content-Type: text/html; charset=utf-8"); ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. <meta name="GENERATOR" content="vim" />
  8. <meta name="Author" content="sam@zoy.org (Sam Hocevar)" />
  9. <meta name="Description" content="Caca Labs - img2oric" />
  10. <meta name="Keywords" content="libcaca, ASCII, ASCII ART, colour quantisation, dithering, oric" />
  11. <title>Caca Labs - img2oric</title>
  12. <link rel="icon" type="image/x-icon" href="/favicon.ico" />
  13. <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
  14. <link rel="stylesheet" type="text/css" href="/main.css" />
  15. </head>
  16. <body>
  17. <?php include($_SERVER["DOCUMENT_ROOT"]."/header.inc"); ?>
  18. <img src="oric.png" width="200" height="130"
  19. alt="Oric computer" style="float: left; border: 0px;" />
  20. <p> <tt>img2oric</tt> converts images to the Oric screen format. The <a
  21. href="http://www.defence-force.org/computing/oric/gallery/index.htm">Oric
  22. screen format</a> is one of the most twisted standards and very little artwork
  23. exists for this vintage computer. It was therefore the perfect challenge for
  24. the Caca Labs image processing team. </p>
  25. <p> The graphical part of the Oric screen has 240×200 pixels and can only
  26. display 8 different colours (black, blue, red, green, cyan, magenta, yellow
  27. and white). Each horizontal group of 6 pixels can only use two different
  28. colours: the foreground and the background colours. The background <i>or</i>
  29. the foreground colour may also be changed (one at a time), but while doing
  30. so the next 6 pixels cannot be chosen: they will use the background colour
  31. instead. Finally, a special bit may be activated to display the current group
  32. of pixels in reverse video. </p>
  33. <h2 style="clear: both;"> Downloads </h2>
  34. <p> No real downloads are available yet. However, the file <tt><a
  35. href="img2oric.c">img2oric.c</a></tt> may be compiled on Linux to obtain an
  36. almost functional, yet extremely slow (around 2 minutes to process an image on
  37. a modern computer) program. </p>
  38. <h2> Usage </h2>
  39. <p> <tt>img2oric</tt> will output to <tt>output.bmp</tt>, an image file
  40. containing the new version, and to <tt>OUTPUT.TAP</tt> which contains the
  41. Oric-format file. </p>
  42. <p> You can download a <a href="OUTPUT.TAP">sample <tt>OUTPUT.TAP</tt></a>
  43. file as generated by <tt>img2oric</tt>. To load it into an Oric
  44. computer, or an emulator such as <tt>xeuphoric</tt>, just type
  45. <b><tt>HIRES:CLOAD"OUTPUT"</tt></b> and it will be immediately displayed: </p>
  46. <p style="text-align: center;">
  47. <img src="real-oric.jpeg" width="360" height="338" class="matrix" alt="" />
  48. <br />
  49. <span style="font-size: 60%"><i>photography courtesy of André Chéramy</i></span>
  50. </p>
  51. <h2> Screenshots </h2>
  52. <p> These images show how <tt>img2oric</tt> performs. The results may not seem
  53. terribly clean, but they are probably better than anything that has been seen
  54. so far on an Oric computer. </p>
  55. <p> These first 4 images show the results on the same images than the ones
  56. on Dbug’s <a href="http://www.defence-force.org/computing/oric/coding/annexe_3/pictconv/">PictConv</a> website, to illustrate the improvements over the
  57. traditional RGB separation technique. </p>
  58. <p style="text-align: center;">
  59. <img src="buffy.png" width="240" height="200" class="inline" alt="" />
  60. <img src="output-buffy.png" width="240" height="200" class="inline" alt="" />
  61. </p>
  62. <p style="text-align: center;">
  63. <img src="mire.png" width="240" height="200" class="inline" alt="" />
  64. <img src="output-mire.png" width="240" height="200" class="inline" alt="" />
  65. </p>
  66. <p style="text-align: center;">
  67. <img src="dog.png" width="240" height="200" class="inline" alt="" />
  68. <img src="output-dog.png" width="240" height="200" class="inline" alt="" />
  69. </p>
  70. <p style="text-align: center;">
  71. <img src="lena.png" width="240" height="200" class="inline" alt="" />
  72. <img src="output-lena.png" width="240" height="200" class="inline" alt="" />
  73. </p>
  74. <p> The following images show <tt>img2oric</tt>’s results with grayscale
  75. images and cartoon images. </p>
  76. <p style="text-align: center;">
  77. <img src="bufbw.png" width="240" height="200" class="inline" alt="" />
  78. <img src="output-bufbw.png" width="240" height="200" class="inline" alt="" />
  79. </p>
  80. <p style="text-align: center;">
  81. <img src="homer.png" width="240" height="200" class="inline" alt="" />
  82. <img src="output-homer.png" width="240" height="200" class="inline" alt="" />
  83. </p>
  84. <p> The following images use real Oric artwork, taken from the Buggy Boy
  85. and the VIP 4 demos: they are almost pixel-perfect. </p>
  86. <p style="text-align: center;">
  87. <img src="bb.png" width="240" height="200" class="inline" alt="" />
  88. <img src="output-bb.png" width="240" height="200" class="inline" alt="" />
  89. </p>
  90. <p style="text-align: center;">
  91. <img src="eatme.png" width="240" height="200" class="inline" alt="" />
  92. <img src="output-eatme.png" width="240" height="200" class="inline" alt="" />
  93. </p>
  94. <p> And finally, this is an animation whose frames were converted to Oric
  95. colours using <tt>img2oric</tt>: </p>
  96. <p style="text-align: center;">
  97. <img src="bear.gif" width="240" height="200" class="inline" alt="" />
  98. <img src="output-bear.gif" width="240" height="200" class="inline" alt="" />
  99. </p>
  100. <h2> Credits </h2>
  101. <p> <tt>img2oric</tt> was written by Sam Hocevar. Thanks to Jean-Yves
  102. Lamoureux, Mickaël Pointier, Robert Chéramy, André Chéramy and Fabrice
  103. Frances for their help, their work and the information they provided. </p>
  104. <?php $rev = '$Id$';
  105. include($_SERVER['DOCUMENT_ROOT'].'/footer.inc'); ?>
  106. </body>
  107. </html>