Changeset 2210 for www/labs


Ignore:
Timestamp:
Jan 19, 2008, 5:21:19 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • More Oric examples. More explanations in the webpage.
Location:
www/labs
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • www/labs/img2oric.html

    r2208 r2210  
    2121<?php include($_SERVER["DOCUMENT_ROOT"]."/header.inc"); ?>
    2222
    23 <p> <tt>img2oric</tt> converts images to the Oric Atmos colours. The Oric
    24 Atmos screen format is one of the most twisted standards and very little
    25 artwork exists for this vintage computer. It was therefore the perfect
    26 challenge for the Caca Labs image processing team. </p>
     23<img src="oric.png" width="200" height="130"
     24     alt="Oric computer" style="float: left; border: 0px;" />
    2725
    28 <h2> Downloads </h2>
     26<p> <tt>img2oric</tt> converts images to the Oric screen format. The <a
     27href="http://www.defence-force.org/computing/oric/gallery/index.htm">Oric
     28screen format</a> is one of the most twisted standards and very little artwork
     29exists for this vintage computer. It was therefore the perfect challenge for
     30the Caca Labs image processing team. </p>
    2931
    30 <p> The <tt>img2oric</tt> source code may be downloaded from <tt><a
    31 href="img2oric.c">img2oric.c</a></tt>. It currently only runs on Linux and is
    32 extremely slow (around 1 minute to process an image on a modern computer). </p>
     32<p> The graphical part of the Oric screen has 240×200 pixels and can only
     33display 8 different colours (black, blue, red, green, cyan, magenta, yellow and
     34white). Each horizontal group of 6 pixels can only use two different colours:
     35either the foreground and the background colours, or the negative values
     36thereof. The background <i>or</i> the foreground colour may also be changed
     37(one at a time), but while doing so the next 6 pixels cannot be chosen: they
     38will use the background colour instead. </p>
     39
     40<h2 style="clear: both;"> Downloads </h2>
     41
     42<p> No downloads are available yet. However, the file <tt><a
     43href="img2oric.c">img2oric.c</a></tt> may be compiled on Linux to obtain an
     44almost functional, yet extremely slow (around 1 minute to process an image on a
     45modern computer) program. </p>
    3346
    3447<h2> Screenshots </h2>
    3548
    36 <p> These images show how <tt>img2oric</tt> performs. The results may not
    37 seem terribly clean, but they are probably better than anything that has
    38 been seen so far on an Oric Atmos computer. </p>
     49<p> These images show how <tt>img2oric</tt> performs. The results may not seem
     50terribly clean, but they are probably better than anything that has been seen
     51so far on an Oric computer. </p>
    3952
    4053<p> These first 4 images show the results on the same images than the ones
     
    7588</p>
    7689
     90<p> The following images use real Oric artwork, taken from the Buggy Boy
     91and the VIP 4 demos. As can be seen, the result is not perfect, but is still
     92rather acceptable. </p>
     93
     94<p style="text-align: center;">
     95  <img src="bb.png" width="240" height="200" class="inline" alt="" />
     96  <img src="output-bb.png" width="240" height="200" class="inline" alt="" />
     97</p>
     98
     99<p style="text-align: center;">
     100  <img src="eatme.png" width="240" height="200" class="inline" alt="" />
     101  <img src="output-eatme.png" width="240" height="200" class="inline" alt="" />
     102</p>
     103
    77104<p> And finally, this is an animation whose frames were converted to Oric
    78105colours using <tt>img2oric</tt>: </p>
Note: See TracChangeset for help on using the changeset viewer.