home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 72 / af072a.adf / pegger.LZX / PEGGER_Demo_Doc < prev    next >
Text File  |  1995-01-04  |  13KB  |  285 lines

  1.  
  2.                   PEGGER 2.0 Demo Documentation
  3.  
  4.     PEGGER is Copyright © 1993,1994, Express-Way Software, Inc.
  5.  
  6.     Published by:  DKB Software, Inc.
  7.  
  8.  
  9. 1.  What is PEGGER?
  10.  
  11.    Welcome to the PEGGER 2.0 Demo.  PEGGER is a utility to help save
  12. Amiga graphic animators and artists hard disk space and to give all
  13. your graphic programs the ability to load and save JPEG files 
  14. automatically.
  15.  
  16.    JPEG is a method of image compression that can reduce the size of
  17. a 24-bit image file by 15 to 1 with no noticeable loss in the quality
  18. of the image.  A 24-bit image file normally takes up to 1MB of disk
  19. space but JPEG'd it only takes 50 to 70K!
  20.  
  21.    PEGGER supports a number of popular Amiga file formats including:
  22.  
  23.    color JPEG
  24.    grayscale JPEG
  25.    IFF24
  26.    HAM8
  27.    color IFF8
  28.    grayscale IFF8 (often used for Alpha channel data)
  29.    DCTV 3 and 4 bit
  30.    Video Toaster FrameStore and CG Pages
  31.    Impulse RGB8
  32.    Targa
  33.  
  34.    PEGGER is fast, on an Amiga 4000 it only adds 5 seconds to the
  35. time it takes to load a 752 by 480 JPEG file as an IFF 24-bit file.
  36. Network support has been added and tested with Parnet, Enlan DFS,
  37. and Novell.
  38.  
  39.  
  40. 2.  Ordering information.
  41.  
  42.    PEGGER has a list price of $99.95 US and is available from many
  43. Amiga dealers and mail order companies.  PEGGER 2.0 started
  44. shipping in August 1994.  DKB Software is offering a
  45. limited introductory price of only $59.95 US plus S&H for PEGGER 2.0.
  46. Registered PEGGER owners can purchase the 2.0 upgraded for $15 US
  47. plus S&H.
  48.  
  49.    For more information or to order please contact:
  50.  
  51.                    DKB Software, Inc.
  52.                    PO Box 438
  53.                    Wixom, MI 48393
  54.                    USA
  55.                    (810) 348-3755 (voice) (810) 348-3531 (fax)
  56.  
  57.  
  58.    Internet: pegger@express-way.com
  59.  
  60. 3.  About the PEGGER demo.
  61.  
  62.    The PEGGER demo is a fully functioning version of PEGGER with the
  63. following exceptions.  Any image PEGGER converts will have the PEGGER
  64. logo stamped into the center of the image.  Due to this, PEGGER will
  65. not allow you to use PEGGER to REPLACE any images that PEGGER converts.
  66. Also, the PEGGER "About window" has additional information in it about
  67. the demo and ordering PEGGER.  We will not try to provide complete
  68. documentation on how to use PEGGER.  Instead, we have included the
  69. text of several tutorials from the PEGGER manual.  These tutorials
  70. should help you become familiar with how PEGGER works.  The tutorials
  71. will use the JPEG files found in the TutorialFiles sub-directory
  72. of the PEGGER_Demo directory.
  73.  
  74.  
  75. 4.  Installing the PEGGER demo
  76.  
  77.    PEGGER requires an Amiga with AmigaDOS 2.0 or greater, a hard
  78. disk, and a minimum of 2 megabytes of RAM.
  79.  
  80.    PEGGER uses the standard Installer program provided by Commodore.
  81. PEGGER must be installed on your hard drive to run properly.  An
  82. Installer script is included in the PEGGER_Demo directory and its icon
  83. is named "Install PEGGER".  The installation is started by clicking
  84. on the "Install PEGGER" icon.  Three libraries will be installed
  85. in your LIBS: directory; pegger.library, peggersnoop.library, and
  86. the dctv.library.  And the installer will create some PEGGER data
  87. files in the PEGGER_Demo directory.
  88.  
  89.  
  90. 5.  Starting PEGGER
  91.  
  92.    Once PEGGER has been installed, you can start PEGGER by double-
  93. clicking on its icon.  PEGGER will open an "About window" with the
  94. PEGGER logo animation and information about PEGGER.  Just click
  95. on the close button of the "About Window" to continue.  Now PEGGER
  96. will open up all its windows; CJPEG, DJPEG, and SNOOP.  The CJPEG
  97. window is used for setting up image files to be JPEG compressed,
  98. the DJPEG window is used for setting up image files to be JPEG
  99. decompressed, and the SNOOP window is used to setup PEGGER to
  100. automatically JPEG compress or decompress files for other Amiga
  101. software running in the background.  These windows can be opened
  102. up by selecting their respective Menu Item from the Workbench
  103. Tools Menu or double clicking on their respective App Icons on
  104. your Workbench.
  105.  
  106.  
  107. 6.  JPEG Decompression of a single file.
  108.  
  109.    Open the DJPEG window.  Make sure the cycle gadgets in the
  110. upper center of the window say {Files} and {Create}.  In the area
  111. labeled "JPEG File to Decompress", click the {From} button to open
  112. a file requester, then select the Tutorial_1.JPG file from the
  113. TutorialFiles sub-directory.
  114.  
  115.    In the area labeled "Directory where Image Files go", select the
  116. type of image file you want to create using the cycle gadget on
  117. the far right.  Now click on the {To} button to open a directory
  118. requester and select the Images sub-directory as the directory
  119. where you want PEGGER to put the decompressed file.  PEGGER can
  120. rename files it creates for you.  Using rename you can give files
  121. a file name extension to indicate what type of file it is.  If
  122. you are creating a 24-bit IFF image you could use the extension
  123. .24, for HAM8 it could be .HAM8, for DCTV it could be .DCTV, etc.
  124. Now click on the {Rename} check box so that it is checked.  In the
  125. text gadget to the left of the Rename check box enter
  126. <all>.{your ext}, such as <all>.HAM8.
  127.  
  128.    You are now ready to begin decompressing the file.  Click on
  129. the {Decompress} button.  If there is a problem with your settings
  130. a requester will notify you of the problem and the decompression
  131. won't start.  Check your settings and try {Decompress} again.
  132. Once JPEG decompression of the file has started you will notice
  133. that a status box at the top of the window will say "Decompressing"
  134. and a small indicator box next to it will flash.  PEGGER does
  135. all of its JPEG processing in the background.  So, while this file
  136. is being decompressed you could set up additional files to be
  137. decompressed or compressed.  PEGGER keeps track of all the files
  138. you want it to decompress.  To view the status of file decompression
  139. click on the {Status} button to switch to the DJPEG Status window.
  140. To return back to the DJPEG setup window click on the {Setup} button
  141. on the DJPEG Status window.
  142.  
  143.    Switch back to the DJPEG Setup window and wait for the status
  144. to change from "Decompressing" to "Idle."
  145.  
  146.  
  147. 7.  JPEG Decompression of a batch of files in a directory.
  148.  
  149.    Open the DJPEG Setup window.  Make sure the cycle gadgets in the
  150. upper center of the window say {Batch Dir} and {Create}.  In the area
  151. labeled "JPEG File to Decompress", click the {From} button to open a
  152. directory requester, then select the TutorialFiles sub-directory.
  153.  
  154.    In the area labeled "Directory" where Image Files go, select the
  155. type of image file you want to create using the cycle gadget on
  156. the far right.  Now click on the {To} button to open a directory
  157. requester and select the Images sub-directory as the directory
  158. where you want PEGGER to put the decompressed files.  It is important
  159. to note that the directory requester will not show any filenames; only
  160. the directories available.  PEGGER can rename files it creates for you.
  161. Using rename you can give files a file name extension to indicate what
  162. type of file it is.  If you are creating a 24-bit IFF image you could
  163. use the extension .24, for HAM8 it could be .HAM8, for DCTV it could
  164. be .DCTV, etc. Now click on the {Rename} check box so that it is checked.
  165. In the text gadget to the left of the {Rename} check box enter
  166. <all>.{your ext}, such as <all>.HAM8.
  167.  
  168.    Click on the {Decompress} button.  This will bring up the Decompression
  169. Batch Directory window.  You will see a display of your selections for
  170. decompressing JPEG files in this directory.  The directory will be
  171. scanned and information about all the JPEG files found will be listed
  172. in the window.  Once PEGGER has found all the JPEG files, click on {OK}
  173. to start the decompression and return to the DJPEG Setup window.  You
  174. may want to use the {Status} button to switch to the DJPEG Status window
  175. to follow PEGGERs progress while it decompresses the files.  Or close
  176. the DJPEG Window and go on to the next tutorial.
  177.  
  178. 8.  JPEG Compression of a single file.
  179.  
  180. NOTE:  This tutorial requires that the Image files created from
  181. the previous tutorial be present in the Images sub-directory of
  182. the PEGGER_Demo directory.
  183.  
  184.    For this tutorial we'll start by demonstrating the AppIcon feature
  185. of PEGGER.  Open up the Images drawer in the PEGGER_Demo directory.
  186. You'll find icons there for the image files you created in the
  187. DJPEG tutorials.  Since the original JPEG files you decompressed
  188. earlier had icons, PEGGER made a copy of those icons when it
  189. created the image files.  Drag one of the image icons out of the
  190. drawer and drop it on PEGGER's CJPEG icon.  This will open the
  191. CJPEG Setup window automatically.  If the CJPEG Setup window were
  192. already open, you could just drop the icon for the image right on the
  193. CJPEG window. Or select the icon and then select CJPEG from the
  194. Workbench Tools Menu.
  195.  
  196.    Click on the {Next} button if the image file you chose to compress
  197. is not displayed in the text gadget in the "Image File to Compress"
  198. area of the window.
  199.  
  200.    Make sure the cycle gadgets in the upper center of the window say
  201. {Files} and {Create}.   Normally you would want to replace the image file
  202. with the JPEG file PEGGER creates to save hard disk space.  Since this
  203. demo is disabled by stamping every image it processes with the PEGGER
  204. logo, this feature is disabled for the demo.
  205.  
  206.    Click the {To} button to open a directory requester and select the
  207. JPEGs sub-directory.  Now we want to rename the file to have the
  208. extension of .JPG like it did before.  Click on the {Rename} check box
  209. and type <all>.JPG into the text gadget.
  210.  
  211.    Another option you will need to consider is the Quality setting
  212. you want to use when you compress a file.  It can be set from 0 to
  213. 100%.  With 100% producing the highest quality JPEG image file with
  214. the least compression, and 0% producing a poor quality JPEG image
  215. file with the most compression.  PEGGER defaults to using a Quality
  216. setting of 85% which produces JPEG images which rarely have any
  217. noticeable loss in quality, but offer significant compression.
  218.  
  219.    Click on the {Compress} button to start the JPEG Compression.
  220.  
  221.  
  222. 9.  JPEG Compression of a batch of files in a directory.
  223.  
  224. NOTE:  This tutorial requires that the Image files created from
  225. the previous tutorial be present in the Images sub-directory of
  226. the PEGGER_Demo directory.
  227.  
  228.    Batch compression of a directory of image files works just like
  229. batch decompression of JPEG files except for using the Quality
  230. setting instead of selecting the type of image to create.
  231.  
  232.  
  233. 10. SNOOP JPEG Decompression
  234.  
  235.    PEGGER's Snoop function is its most valuable feature and it couldn't
  236. be much easier.  Now that you've learned the other basic features of
  237. PEGGER you can now use Snoop to put them to work for you automatically.
  238. For purposes of the demo we will show you how to use SNOOP by Program.
  239. PEGGER was installed with SNOOP by Program settings for a number of
  240. graphic programs.  Scroll through the list of Programs and select one
  241. that you use.  If you don't see one that you use, start the program
  242. that you would like to test PEGGER with, then click the New button on
  243. the PEGGER Snoop Window and double click on the name of the program
  244. you want to use with PEGGER.  The program you setup for SNOOP could
  245. be the Toaster Switcher, ToasterPaint, DPaint, DCTV, Brilliance, or
  246. any other program you use that loads image files.
  247.  
  248.    The name of the program will be displayed underneath the list and
  249. the gadgets for setting up SNOOP will be enabled.  For this demo we
  250. want to show how PEGGER can allow other programs to load JPEG files.
  251.  
  252.    Now make sure the {Image Compression} check box is not checked and
  253. that the {JPEG Decompression} check box is checked.  Make sure the
  254. {Enable/Disable} cycle gadget is set to Enable.  Finally, select what
  255. type of image file you want PEGGER to create for this program when it
  256. decompresses a JPEG file.  The {Save} button should now be unghosted.
  257. Click the {Save} button to save the SNOOP settings for the selected
  258. program.
  259.  
  260.    To test SNOOP by Program you will need to start the program for
  261. which you setup SNOOP.  In that program try to load one of the
  262. JPEG files in the PEGGER_Demo/TutorialFiles directory.  When your
  263. program tries to load the JPEG file, PEGGER will popup a requester
  264. informing you that it is JPEG decompressing the file for you.  Once
  265. PEGGER is done the requester will go away and your program can load
  266. the JPEG file as the type of image you selected for the SNOOP JPEG
  267. Decompression.  Since this is a demo the JPEG file you load will
  268. have the PEGGER logo stamped in the center of the image.  Please note
  269. that the NewTek Video Toaster Switcher software as well as ToasterPaint
  270. only allow loading images as Framestores which have an exact resolution
  271. of 752 x 480.  ANY IMAGE WHICH DOES NOT HAVE THAT EXACT X AND Y PIXEL
  272. RESOLUTION WILL NOT LOAD INTO EITHER THE SWITCHER OR TOASTERPAINT'S
  273. "LOAD FRAME" MENU OPTION VIA PEGGER'S SNOOP FEATURE!
  274.  
  275. SNOOP by Directory works very similar to SNOOP by Program.
  276.  
  277. 11. SNOOP JPEG Compression
  278.  
  279.    PEGGER can automatically JPEG compress image files saved by
  280. graphic programs.  This feature is of great benefit to animators
  281. who need to create thousands of 24-bit frames for an animation.
  282. A 1000 frame animation saved as 24-bit IFF files would take up
  283. almost a gigabyte of hard disk space, but JPEG'd would only take
  284. up 50-100 megabytes.
  285.