home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / webslice.zip / readme next >
Text File  |  2001-10-07  |  3KB  |  60 lines

  1.  
  2.  WebSlice.cmd v0.70
  3.  
  4.  WebSlice provides you with a long-sought function on OS/2: it will
  5. cut an image into small pieces ("slices" or "tiles") for display in an
  6. html table on a webpage.
  7.  
  8.  WebSlice.cmd requires Impos/2 version 2.10. It will NOT work with
  9. earlier versions since the (undocumented) Impos REXX functions used
  10. are not available prior to v2.10. Please note also that the upgrade to
  11. Impos/2 v2.10 is not free.
  12.  
  13.  Place the WebSlice CMD file into the Impos directory and execute it
  14. from there. You must supply an image name including its full path. The
  15. image file may be located anywhere; but the directory must have write
  16. access (hence a CDROM is NOT suitable as target). Such as: 
  17.    WebSlice drive:\path\myimage.tif
  18.  
  19.  Optionally add two integers (slice_width slice_height) to override
  20. the default tile size, such as 
  21.    WebSlice drive:\path\myimage.tif 100 200
  22.  
  23.  WebSlice will then generate slices ("tiles"; as GIF files) of the
  24. entire image (of any size) at the default size of 200x150 pixels per
  25. tile in the same directory as the original image. If provided as a
  26. command line parameter to WebSlice, tiles of other sizes are being
  27. generated. The slices will be named by the image 'base' filename
  28. appended with '_ij.GIF', whereby ij refers to the horizontal/vertical
  29. coordinates of a given slice.
  30.  
  31.  High color images will be converted to 8 Bit GIF files before
  32. slicing. The latter step is made interactive for purpose to provide
  33. individual control on the color reduction process. Currently, WebSlice
  34. will only produce image tiles in GIF format (created from any image
  35. format that Impos/2 supports, though).
  36.  
  37.  At the same time, a very basic HTML file (named with the 'base' image
  38. name and appended by "_table.htm") will be generated in the image's
  39. directory to display all slices in a proper HTML table. You may reuse
  40. this code in your own html document; depending on where you place your
  41. web images by default, the image paths may need to be updated.
  42.  
  43.  If you're interested what the results can look like, check this out:
  44.    http://www.mh-hannover.de/tagungen/dgfi2000/test/blume_table.htm
  45.  
  46.  WebSlice will generate a logfile WEB_SLICE.LOG in the Impos/2
  47. directory.
  48.  
  49.  While I have not seen any deleterious side effects myself from using
  50. this software, using it is entirely at your own risk.
  51.  You are free to distribute this archive provided it remains
  52. unaltered.
  53.  
  54.  Your feedback is welcome.
  55.  
  56.  Martin R. Hadam
  57.  Hadam.Martin@MH-Hannover.de
  58.  
  59.  07 October 2001
  60.