home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 55
/
Amiga_Dream_55.iso
/
RISCOS
/
APPS
/
GRAPHIC
/
AADRA2.ZIP
/
AADraw
/
AADrawH
< prev
next >
Wrap
Text File
|
1997-08-29
|
6KB
|
148 lines
<html>
<front>
<title>the AADraw page
</title>
<meta name="description" content="Peter Hartley's freeware Draw to Sprite/GIF converter program for Acorn RiscOS computers">
</front>
<body bgcolor=#ffffff background="../gifs/paper.jpg">
<table>
<tr>
<td valign=top>
<center>
<IMG WIDTH=118 HEIGHT=37 SRC="../gifs/wibble1.gif"><br>
<a href="../"><IMG WIDTH=89 HEIGHT=29 SRC="../buttons/homepage.gif"
alt="Home page " border=0></a><br>
<IMG WIDTH=16 HEIGHT=24 SRC="../gifs/wibble3.gif"><br>
<a href="../software/"><IMG WIDTH=74 HEIGHT=29 SRC="../buttons/freeware.gif" alt="Freeware" border=0></a><br>
<IMG WIDTH=16 HEIGHT=24 SRC="../gifs/wibble3.gif"><br>
<a
href="mailto:peter@ant.co.uk"><IMG WIDTH=85 HEIGHT=29 SRC="../buttons/emailme.gif"
alt="Email me " border=0></a><br>
<IMG WIDTH=90 HEIGHT=38 SRC="../gifs/wibble2.gif">
<p>
<p>
<IMG WIDTH=120 HEIGHT=144 SRC="../gifs/certify.gif">
</center>
<td>
<h1>AADraw 1.02</h1>
AADRAW 1.02 is a program for anti-aliasing Draw files to make
sprites (or, in conjunction with <a href=intergif.htm>InterGif</a>,
GIFs). It's aimed at people creating images for Web pages in Draw.
With InterGif, it will make transparent GIFs intelligently, i.e.
the background (white by default) will become transparent but things
explicitly drawn in white will come out white. (This is where aadraw
scores over doing it "by hand" with Draw, ChangeFSI, and InterGif.)
<br><img src="s.gif" width=30 height=2 alt="">Version 1.02 was released on the seventeenth of October, 1996.
<H2>Usage</H2>
<TT>aadraw [-o outfile] [-b BBGGRR] [-g [-t] [-i]] infile</TT>
<H2>Options</H2>
<dl>
<dt><b>-o outfile</b>
<dd>Name the output file -- if <b>-o</b> isn't specified,
<B><infile>2</B> will be used, or <B><infile>/gif</B> if
the <b>-g</b> option is also used.
<dt><b>-b BBGGRR</b>
<dd>Change the background colour of the output sprite from the
default of white (FFFFFF). This also, of course, changes which colour
the picture is anti-aliased to. The argument is a hex value between
000000 and FFFFFF.
<dt><b>-g</b>
<dd>Produce a GIF rather than a sprite: this option requires you to
have my <a href=intergif.htm>InterGif</a> program somewhere on your
path (e.g. in the same directory as aadraw, or in your library
directory).
<dt><b>-t</b>
<dd>Produce a GIF with transparency. The "background" of the Draw
file will be made transparent. Intelligent transparency is used:
that's to say, <em>genuine</em> background comes out transparent, but
things drawn in white come out in white even if the background is also
white. You must specify <b>-g</b> if you specify <b>-t</b>.
<dt><b>-i</b>
<dd>Produce an interlaced GIF. You must specify <b>-g</b> if you
specify <b>-i</b>.
<dt><b>infile</b>
<dd>A RiscOS Draw file. If <b>infile</b> isn't specified, aadraw
will print a short help message and exit.
</dl>
<h2>Points to note</h2>
You need the DrawFile module to run aadraw -- you can get it
from <a
href="http://www.art.acorn.co.uk/ftp/riscos/releases/">Acorn's FTP site</a>.
<br><img src="s.gif" width=30 height=2 alt="">The sprites produced by aadraw have 256 colours, but do
<em>not</em> have the standard Acorn 256-colour palette. Instead, they
have the default palette used by Netscape Navigator (and MSIE) in
256-colour modes. This has the desirable effect that colours rendered
solid by aadraw will not be dithered by Netscape when your Web pages
are viewed. (It's also, incidentally, a much saner palette than the
standard Acorn one, and one which makes the anti-aliasing code vastly
easier to write.)
<br><img src="s.gif" width=30 height=2 alt="">To generate the sprite, aadraw redirects output (OS_SpriteOp 60).
RiscOS blows up wildly if you call OS_SpriteOp 60 from inside a task
window, so aadraw detects whether it's being run in a task window and,
if it is, politely tells you to press F12 and run it from there
instead. (Earlier versions used to complain about being run by
Wimp_StartTask too, but this is actually OK and so it doesn't
now complain.)
<br><img src="s.gif" width=30 height=2 alt="">For big images or on old machines, the anti-aliasing step could
take a while -- several seconds.
<h2>Yet to do</h2>
Text doesn't come out quite as well as it should. This is because
aadraw's very general anti-aliasing routine can't do all the hinting
and soforth that the Font Manager's anti-aliasing routines do. A
future release will address this by rendering everything except the
text first, anti-aliasing this itself, and then drawing the text over
the top with normal Font Manager calls. This in turn will get it wrong
if there are things in front of pieces of text, but this is hopefully
rare, and anyway there'll be an option to disable "optimised text".
<h2>Distribution</h2>
AADraw is <a href="../allrites.htm">NOT COPYRIGHTED</a> and is NOT
distributed under the GNU General Public Licence.
<br><img src="s.gif" width=30 height=2 alt=""><b>Downloading AADraw 1.02:</b> Just click <a
href="arc/aad102.arc">here (6K).</a> To make GIFs, you'll also
need <a href="intergif.htm">InterGif</a>.
<br><img src="s.gif" width=30 height=2 alt=""><b>Downloading the source to AADraw 1.02:</b> Just click <a
href="arc/aad102src.arc">here (10K).</a> It's up to you what you
do with the source -- but if what you do with it is make
bug-fixes or improvements to AADraw, I'd like to <i>request</i>
that you send them to me so that this page can always offer the
"best" version. To compile AADraw, you will need <a
href="extras.htm">ExtrasLib</a>.</p>
<center> <IMG WIDTH=157 HEIGHT=29 SRC="../gifs/wibble5.gif"
vspace=15> </center>
<center><IMG WIDTH=20 HEIGHT=20 SRC="../gifs/kopy.gif" alt="(K)"> <a href="../allrites.htm">All Rites Reversed</a> -- Copy
What You Like</center>
</table>
</body>
</html>