home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / internet / webster / !Webster / Docs / images < prev    next >
Text File  |  1995-06-25  |  2KB  |  48 lines

  1. <HTML><HEAD><title>In line Images</title>
  2. </HEAD><BODY>
  3. <center>
  4. <A HREF="history.html"><IMG WIDTH=67 HEIGHT=39 ALT="Prev" SRC="ToPrev"></A> <a HREF="../!Help.html#index"><IMG WIDTH=67 HEIGHT=39 ALT="Index" SRC="ToIndex"></a> <a HREF="install.html"><IMG WIDTH=67 HEIGHT=39 ALT="Next" SRC="ToNext"></a><BR>
  5. <h1><a NAME="images">In line Images</a></h1>
  6. </center>
  7.  
  8. <ul>
  9. <li>XBM style images are decoded by the application or by an <A HREF="xbm2spr.html">external XBM decoder</a>.
  10. <li>GIF images are decoded using <a href="gif2spr.html">gif2spr</a>.
  11. <li>Unknown images are displayed as <img ALT="Default Image Here" SRC="../Default">, unless there is an ALT <A href="tags.html">tag</a> in which case the text is displayed instead.
  12. <li>Sprite images are catered for directly, for convenience and speed.
  13. <li>All inline images are <a href="caches.html">cached</a> in memory for a number of pages after their last use (3 by Default).
  14. </ul>
  15.  
  16. <h2>Using another <A NAME="GIFVIEWER">GIF, XBM or JPEG</a> decoder</h2>
  17. You can use any GIF, XBM and JPEG decoder that outputs to a file and has a command line interface by changing the <var>GIF Decoder</var> value in the <a href="choice/inline.html"><quote>Inline Viewers</quote></a> section of the <a href="choices.html">Choices windows</a>.
  18. <p>
  19. You can change the parameters passed by changing the values on the <a href="choice/inline.html"><quote>Viewers</quote></a> section of the <a href="choices.html">Choices windows</a>.
  20. <ul>
  21. <LI>%0 will be replaced by the source file name. (The GIF, XBM or JPEG file)
  22. <LI>%1 by the name of the required sprite file.
  23. <LI>%2 by an appropriate mode. (Not applicable for the XBM decoder)
  24. </ul>
  25. Any of these can be omitted and any other parameters included.
  26. <P>
  27. All the image decoders will multitask, even though the decoders them selves do not support it. This is done using the RISCOS <quote>TaskWindow</quote> command. To enable a decoder's Multitasking you must specify a suitable Wimpslot for that Decoder.
  28. <P>
  29. <h2><a name=examples">Example Decoder lines</a></h2>
  30. <PRE>
  31. <a href="gif2spr.html">GIF Decoder</a>
  32.   <Webster$Dir>.gif2spr -q %0 %1
  33. WimpSlot
  34.   64
  35.  
  36. JPEG Decoder
  37.   <ChangeFSI$Dir>.ChangeFSI %0 %1 %2r -nomode
  38. WimpSlot
  39.   160
  40.  
  41. <a href="xbm2spr.html">XBM Decoder</a>
  42.   <Webster$Dir>.XBM2Spr 18 %0 %1
  43. WimpSlot
  44.   16
  45. </pre>
  46. <hr><address><a href="author.html>Andrew Pullan</a>, 13th May 1995</address>
  47. </BODY></HTML>
  48.