home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 286.lha / Sham_v3.0 / sliced.doc < prev    next >
Text File  |  1989-09-12  |  3KB  |  97 lines

  1. Sliced Ham Converters
  2. Copyright 1989 Rhett Anderson
  3. All Rights Reserved
  4.  
  5. Revised Sept. 1, 1989
  6.  
  7.  
  8. What's new:
  9.  converts gif pictures that aren't 320x200
  10.  converts gif pics that aren't 256 colors
  11.  includes interlace converter for really big pictures
  12.  shamview no longer busy-waits
  13.  shamview shows interlace and non-interlace SHAM pics
  14.  
  15.  
  16. Hello Fellow Amiga Enthusiasts.
  17.  
  18. Introduction
  19.  
  20. Welcome to Sliced Ham. Over the last year I've been thinking about
  21. writing a 24-bit paint program for the Amiga. Sliced Ham is a
  22. byproduct of that product.
  23.  
  24. In effect, Sliced Ham gives you HAM images that lack the fringes so
  25. commonly found in that mode. It works by changing the palette on each
  26. and every scan line. 15 colors are changed each line during the
  27. horizontal retrace period. It just so happens that there is precisely
  28. enough time for these changes.
  29.  
  30. This package provides you with a way of looking at those great
  31. 256-color GIF files.
  32.  
  33. The programs are slow (at least until you've made it to the final
  34. converted Sliced Ham pictures). They are currently written in M2Sprint
  35. (not slouch speed-wise), but since they're so computation intensive,
  36. I'm converting them to ML. So far the best I've been able to do is 14
  37. seconds for an optimized 24-bit to Sliced Ham conversion. Many kinks
  38. remain, however.
  39.  
  40. To use the program, type shamview filename, where filename is the
  41. already-converted image.
  42.  
  43. To convert a GIF image, type giftotmp giffile tmpfile,
  44. then supercon tmpfile.
  45.  
  46. Example:
  47.  
  48. giftotmp fish.gif fish.gif.tmp
  49. supercon fish.gif.tmp
  50. shamview fish.gif.tmp.sham
  51.  
  52. You'll probably want to rename the final file to fish.sham, to indicate that
  53. it is a Sliced Ham picture.
  54.  
  55. If the picture has more than 399 lines vertically, you can use the program
  56. lacecon instead of supercon. It will create an interlaced SHAM picture.
  57. You'll need plenty of memory. If you have one meg, press CTRL-D when you
  58. boot, you'll need all your memory.
  59.  
  60.  
  61. Note
  62.  
  63. These programs are not in the public domain. Please distribute them
  64. freely on bulletin boards an electronic services, but do not place
  65. them on public domain or shareware disk collections. (Go ahead and
  66. spread the programs to your friends, just make sure no money changes
  67. hands. Also feel free to put these programs on the disks of user groups or
  68. other not-for-profit Amiga groups.) I must make this rule because my job
  69. depends on sales of our disk products. It doesn't make sense for me to
  70. undercut myself.
  71.  
  72. If you're impressed by these pictures, just think--these are 256 color
  73. images. You will be startled by the 4096-color ones captured by
  74. digitizers and scanners.
  75.  
  76. Technical Note: An IFF Sliced Ham picture file looks just like any
  77. other ILBM file. However, Sliced Ham pictures have an extra chunk
  78. (called SHAM) consisting of a version word (currently 0), then 200
  79. different palettes of 16 colors. Each color takes up a word and is in
  80. the form 0rgb.
  81.  
  82.  
  83. Rhett Anderson
  84. Associate Editor
  85. COMPUTE!'s Amiga Resource
  86. 324 W. Wendover Ave.
  87. Greensboro, NC 27408
  88.  
  89. P.S. Thanks to the PLinkers for their suggestions and bug reports, and to
  90. fellow Amiga programmers at C!AR (Denny Atkin, Troy Tucker, Tim Midkiff,
  91. Randy Thompson, Dale McBane, Jim Fuchs) for their encouragement, and to my
  92. fellow ASDF members, including John Toebes, Wes Howe, and Doug Walker, for
  93. listening to my Sliced Ham discussion at the 1th Annual Guru Meditation.
  94. And finally, thanks to John, Paul, George, and Ringo, who sang to me while
  95. I worked.
  96.  
  97.