home *** CD-ROM | disk | FTP | other *** search
/ Dream 55 / Amiga_Dream_55.iso / RISCOS / APPS / GRAPHIC / AADRA2.ZIP / AADraw / AADrawH < prev    next >
Text File  |  1997-08-29  |  6KB  |  148 lines

  1. <html>
  2. <front>
  3. <title>the AADraw page
  4. </title>
  5. <meta name="description" content="Peter Hartley's freeware Draw to Sprite/GIF converter program for Acorn RiscOS computers">
  6. </front>
  7. <body bgcolor=#ffffff background="../gifs/paper.jpg">
  8. <table>
  9. <tr>
  10. <td valign=top>
  11.  
  12. <center>
  13.  
  14. <IMG  WIDTH=118 HEIGHT=37 SRC="../gifs/wibble1.gif"><br>
  15.  
  16. <a href="../"><IMG  WIDTH=89 HEIGHT=29 SRC="../buttons/homepage.gif"
  17. alt="Home page " border=0></a><br>
  18.  
  19. <IMG  WIDTH=16 HEIGHT=24 SRC="../gifs/wibble3.gif"><br>
  20.  
  21. <a href="../software/"><IMG  WIDTH=74 HEIGHT=29 SRC="../buttons/freeware.gif" alt="Freeware" border=0></a><br>
  22.  
  23. <IMG  WIDTH=16 HEIGHT=24 SRC="../gifs/wibble3.gif"><br>
  24.  
  25. <a
  26. href="mailto:peter@ant.co.uk"><IMG  WIDTH=85 HEIGHT=29 SRC="../buttons/emailme.gif"
  27. alt="Email me " border=0></a><br>
  28.  
  29. <IMG  WIDTH=90 HEIGHT=38 SRC="../gifs/wibble2.gif">
  30.  
  31. <p>
  32. <p>
  33. <IMG  WIDTH=120 HEIGHT=144 SRC="../gifs/certify.gif">
  34.  
  35. </center>
  36.  
  37. <td>
  38.  
  39. <h1>AADraw 1.02</h1>
  40.  
  41. AADRAW 1.02 is a program for anti-aliasing Draw files to make
  42. sprites (or, in conjunction with <a href=intergif.htm>InterGif</a>,
  43. GIFs). It's aimed at people creating images for Web pages in Draw.
  44. With InterGif, it will make transparent GIFs intelligently, i.e.
  45. the background (white by default) will become transparent but things
  46. explicitly drawn in white will come out white. (This is where aadraw
  47. scores over doing it "by hand" with Draw, ChangeFSI, and InterGif.)
  48.  
  49. <br><img src="s.gif" width=30 height=2 alt="">Version 1.02 was released on the seventeenth of October, 1996.
  50.  
  51. <H2>Usage</H2>
  52.  
  53. <TT>aadraw [-o outfile] [-b BBGGRR] [-g [-t] [-i]] infile</TT>
  54.  
  55. <H2>Options</H2>
  56.  
  57. <dl>
  58.  <dt><b>-o outfile</b>
  59.  <dd>Name the output file -- if <b>-o</b> isn't specified,
  60. <B><infile>2</B> will be used, or <B><infile>/gif</B> if
  61. the <b>-g</b> option is also used.
  62.  <dt><b>-b BBGGRR</b>
  63.  <dd>Change the background colour of the output sprite from the
  64. default of white (FFFFFF). This also, of course, changes which colour
  65. the picture is anti-aliased to. The argument is a hex value between
  66. 000000 and FFFFFF.
  67.  <dt><b>-g</b>
  68.  <dd>Produce a GIF rather than a sprite: this option requires you to
  69. have my <a href=intergif.htm>InterGif</a> program somewhere on your
  70. path (e.g. in the same directory as aadraw, or in your library
  71. directory).
  72.  <dt><b>-t</b>
  73.  <dd>Produce a GIF with transparency. The "background" of the Draw
  74. file will be made transparent. Intelligent transparency is used:
  75. that's to say, <em>genuine</em> background comes out transparent, but
  76. things drawn in white come out in white even if the background is also
  77. white. You must specify <b>-g</b> if you specify <b>-t</b>.
  78.  <dt><b>-i</b>
  79.  <dd>Produce an interlaced GIF. You must specify <b>-g</b> if you
  80. specify <b>-i</b>.
  81.  <dt><b>infile</b>
  82.  <dd>A RiscOS Draw file. If <b>infile</b> isn't specified, aadraw
  83. will print a short help message and exit.
  84.  </dl>
  85.  
  86. <h2>Points to note</h2>
  87.  
  88. You need the DrawFile module to run aadraw -- you can get it
  89. from <a
  90. href="http://www.art.acorn.co.uk/ftp/riscos/releases/">Acorn's FTP site</a>.
  91.  
  92. <br><img src="s.gif" width=30 height=2 alt="">The sprites produced by aadraw have 256 colours, but do
  93. <em>not</em> have the standard Acorn 256-colour palette. Instead, they
  94. have the default palette used by Netscape Navigator (and MSIE) in
  95. 256-colour modes. This has the desirable effect that colours rendered
  96. solid by aadraw will not be dithered by Netscape when your Web pages
  97. are viewed. (It's also, incidentally, a much saner palette than the
  98. standard Acorn one, and one which makes the anti-aliasing code vastly
  99. easier to write.)
  100.  
  101. <br><img src="s.gif" width=30 height=2 alt="">To generate the sprite, aadraw redirects output (OS_SpriteOp 60).
  102. RiscOS blows up wildly if you call OS_SpriteOp 60 from inside a task
  103. window, so aadraw detects whether it's being run in a task window and,
  104. if it is, politely tells you to press F12 and run it from there
  105. instead. (Earlier versions used to complain about being run by
  106. Wimp_StartTask too, but this is actually OK and so it doesn't
  107. now complain.)
  108.  
  109. <br><img src="s.gif" width=30 height=2 alt="">For big images or on old machines, the anti-aliasing step could
  110. take a while -- several seconds.
  111.  
  112. <h2>Yet to do</h2>
  113.  
  114. Text doesn't come out quite as well as it should. This is because
  115. aadraw's very general anti-aliasing routine can't do all the hinting
  116. and soforth that the Font Manager's anti-aliasing routines do. A
  117. future release will address this by rendering everything except the
  118. text first, anti-aliasing this itself, and then drawing the text over
  119. the top with normal Font Manager calls. This in turn will get it wrong
  120. if there are things in front of pieces of text, but this is hopefully
  121. rare, and anyway there'll be an option to disable "optimised text".
  122.  
  123. <h2>Distribution</h2>
  124.  
  125. AADraw is <a href="../allrites.htm">NOT COPYRIGHTED</a> and is NOT
  126. distributed under the GNU General Public Licence.
  127.  
  128. <br><img src="s.gif" width=30 height=2 alt=""><b>Downloading AADraw 1.02:</b> Just click <a
  129. href="arc/aad102.arc">here (6K).</a> To make GIFs, you'll also
  130. need <a href="intergif.htm">InterGif</a>.
  131.  
  132. <br><img src="s.gif" width=30 height=2 alt=""><b>Downloading the source to AADraw 1.02:</b> Just click <a
  133. href="arc/aad102src.arc">here (10K).</a> It's up to you what you
  134. do with the source -- but if what you do with it is make
  135. bug-fixes or improvements to AADraw, I'd like to <i>request</i>
  136. that you send them to me so that this page can always offer the
  137. "best" version. To compile AADraw, you will need <a
  138. href="extras.htm">ExtrasLib</a>.</p>
  139.  
  140. <center> <IMG  WIDTH=157 HEIGHT=29 SRC="../gifs/wibble5.gif"
  141. vspace=15> </center>
  142.  
  143. <center><IMG  WIDTH=20 HEIGHT=20 SRC="../gifs/kopy.gif" alt="(K)"> <a href="../allrites.htm">All Rites Reversed</a> -- Copy
  144. What You Like</center>
  145. </table>
  146. </body>
  147. </html>
  148.