home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / graphics / printall / printall.doc next >
Text File  |  1992-10-08  |  15KB  |  260 lines

  1.                 PrintAll
  2.  
  3. 1. Introduction
  4.  
  5.     The name may sound ambitious, but the author's intention is to support
  6.     most major graphics formats available to the Atari computer/HP printer
  7.     user.
  8.  
  9.     Version 1.0, the first public release, recognizes, reads and prints
  10.     the following file extensions/formats in color or greyscale on the
  11.     HP 500C Color DeskJet printer, and in greyscale on the HP 500:
  12.  
  13.         .GIF    Compuserve's Graphics Interchange Format
  14.         .MTV    The MTV raytracer raw output file format (24 bit)
  15.         .NEO    Neochrome low- and medium-res images
  16.         .PC1    Degas Elite Compressed low-resolution format
  17.         .PC2    Degas Elite Compressed medium-resolution format
  18.         .PI1    Degas/Degas Elite low-resolution format
  19.         .PI2    Degas/Degas Elite medium-resolution format
  20.         .QRT    The QRT raytracer raw output file format (24 bit)
  21.         .SPC    Spectrum 512 compressed images
  22.         .SPU    Spectrum 512 uncompressed images
  23.  
  24.     Plans for future support include:
  25.  
  26.         .IMG    GEM bit image files
  27.         .PC3    Degas Elite Compressed high-resolution format
  28.         .PI3    Degas/Degas Elite high-resolution format
  29.     .PNT    Prism Paint format
  30.         .TN?    "Tiny" image format
  31.         .RAS    Sun Microsystems "rasterfile" format
  32.         .JPG    Joint Photographic Experts Group compressed images
  33.  
  34.     ...and more!
  35.  
  36.     Each type of image file is converted into an internal 24-bit representation.
  37.     All subsequent processing, such as dithering, gamma correction and
  38.     quantization for printing, is done in this 24-bit space.  This results in
  39.     the truest possible representation of the original image on the printer.
  40.     The price of this accuracy (there is always a price!) is memory usage.
  41.     Users with less than 4 megabytes of RAM will find themselves limited in
  42.     the maximum size of the images they can print.
  43.  
  44. 2. Usage (The short form)
  45.  
  46.     This program is extremely simple to use.  Double-click on the file
  47.     "printall.prg".  The resource file "printall.rsc" must either be in the
  48.     same directory as printall.prg, or in the Desktop's search path.
  49.  
  50.     PrintAll will display its title box.  Select the "OK" button or press
  51.     the return key to dismiss it.  You will then be presented with a file
  52.     selector.  Select the file you wish to print.  A status bar will show
  53.     the progress of reading and converting the file.
  54.  
  55.     Next, the Transmogrification (image processing) options dialog appears.
  56.     Set the options to your liking, then select "OK" to continue.
  57.  
  58.     The Output options dialog appears next.  These options control how and
  59.     where the image will print.  When you have set the options to your
  60.     liking, select "OK" to continue.  If you have selected the "File"
  61.     output destination, another file selector will appear.  Enter the file
  62.     where you wish the printer commands to go.
  63.  
  64.     At this point, another status bar will appear.  The program will make
  65.     one pass through the data, performing all the selected Transmogrifications
  66.     and the quantization for output.  When this pass completes, the status
  67.     bar will appear again for the final output pass.  At this point, the
  68.     printer commands are generated and sent either to disk or to the printer.
  69.     When complete, the process begins again at the file selection phase.
  70.  
  71.     Selecting "Cancel" in any dialog exits the program immediately.
  72.  
  73. 3. Usage (The details)
  74.  
  75.     The file you select to be printed must have an extension that matches one
  76.     of the supported types listed above.  This is because the extension of the
  77.     file is used to determine its format.  If the extension is not recognized,
  78.     an alert box will inform you of this.  After dismissing the alert, you
  79.     will be presented with the file selector to make an alternate selection, or
  80.     select the "Cancel" button to quit the program.
  81.  
  82.     If the file type is recognized, PrintAll opens the file and attempts to
  83.     verify that the file is what it claims to be.  (This is not foolproof in
  84.     all cases.)  If the verification succeeds, a status bar will appear and
  85.     will indicate the progress of the file conversion.  Note that some file
  86.     types, such as GIFs which are heavily compressed, will take a significant
  87.     amount of time to read, decompress, and convert.  The dimensions of the
  88.     image also have a direct relationship to the reading/conversion time.
  89.  
  90.     After the file has been successfully read, the Transmogrifications dialog
  91.     appears.  Currently there are three choices: Inversion, Dithering and
  92.     Gamma Correction.
  93.  
  94.     Setting Inversion to "Yes" causes PrintAll to invert the color values of
  95.     the image.  If printing in color, the image will resemble a color negative;
  96.     if printing in black, the image will be black-white reversed.  The default
  97.     state of Inversion is "No", which will produce a "normal" image.
  98.  
  99.     Setting Dithering to "Yes" causes PrintAll to use an error-distribution
  100.     algorithm when quantizing the 24-bit internal format down to the number
  101.     of shades available for printing.  If dithering is enabled and a pixel
  102.     cannot be represented exactly on the printer, the magnitude and direction
  103.     of the error is distributed to the right, lower-right, and lower neighbor
  104.     pixels.  This is results in a more accurate rendition of the color or grey
  105.     values in the image than does quantization alone.  In particular, dithering
  106.     can significantly reduce or eliminate "false contouring", the appearance
  107.     of artificial lines at color value changes where no lines should appear.
  108.  
  109.     There is, again, a price.  In some images with very large areas of a
  110.     constant pixel value, the error distribution may cause diagonal lines to
  111.     appear in these areas.  You will have to decide if the false contouring
  112.     is more acceptable than the dithering noise.  The default setting for
  113.     Dithering is "Yes", because the process is effective far more often than
  114.     not.
  115.  
  116.     Gamma Correction is used to compensate for the different intensity curves
  117.     of a CRT screen and the printer's inks.  Higher gamma values (up to a
  118.     maximum of 9) lighten the image; lower values (down to a minimum of .1)
  119.     darken it.  The extremes are arbitrary values and are not necessarily
  120.     useful values for any particular purpose.
  121.  
  122.     A gamma value of 1.0 produces a direct mapping between a pixel's value in
  123.     memory and its value when quantized for printing.  However, because of the
  124.     differences in the relative perceived intensity of a CRT compared to that
  125.     of the inks used in the printer, this setting will not necessarily result
  126.     in a printed image that matches the image seen on the CRT.
  127.  
  128.     The default gamma value of 2.5 is appropriate for color printing on the
  129.     500C; gamma values smaller than this produce an image which tends to be
  130.     too dark.  For black ink printing, the gamma value should be set around 1.
  131.     Of course you should experiment with different values with different
  132.     images, and for different effects.  Different media will also affect the
  133.     appropriate gamma setting, as will the setting of the "Quality" option.
  134.  
  135.     When you have selected the desired Transmogrification options, click on
  136.     the "OK" button to continue.  The "Cancel" button quits the program.
  137.  
  138. 3. Output Options
  139.  
  140.     The output options determine how and where the image is printed.  The first
  141.     choice is that of the color (CMY) or black ink cartridge.  If you do not
  142.     have an HP 500C color printer, the only appropriate choice here is "Black".
  143.     I cannot vouch for what the result will be if the "Color" option is used
  144.     with a non-color printer.  The program itself has no means of verifying
  145.     your printer type.  Caveat user.
  146.  
  147.     The Orientation option determines the direction in which the image will be
  148.     printed on the page.  The "Portrait" orientation causes the image to be
  149.     printed in the same direction as you see it on the screen, whereas the
  150.     Landscape orientation causes the image to be rotated 90 degrees, so that
  151.     the horizontal axis of the screen maps to the longer axis of an 8.5 by 11
  152.     sheet of paper.
  153.  
  154.     Vertical Justification selects where on the length of the page the image
  155.     will be placed, regardless of orientation.  "Top" places the edge of the
  156.     image approximately one-half inch from the top edge of the page.  "Center"
  157.     causes the image to be center-justified along the length of the page.
  158.     "Bottom" places the image so that its trailing edge is approximately one-
  159.     half inch from the bottom edge of the page.
  160.  
  161.     Horizontal Justification is just like Vertical Justification, but for the
  162.     other axis of the paper (surprise!).
  163.  
  164.     Power-user note: Careful choice of resolution, matrix, position and
  165.     orientation options combined with repeated loading of the same sheet of
  166.     paper can produce an interesting collage effect with smaller images.
  167.  
  168.     Output Destination selects whether the printer commands go to the printer
  169.     port, as set up in the Control Panel dialog, or to a file.  If you select
  170.     output to file, you may choose via a file selector where to put the result.
  171.     Output to file is somewhat faster than output to printer, and provides the
  172.     option of making additional copies of the image without going through all of
  173.     the processing steps again.  However, depending on the size and complexity
  174.     of the image, the output can be quite large.  Output direct to the printer
  175.     requires no additional disk storage.
  176.  
  177.     Matrix selects the size of the halftoning matrix used to output each pixel.
  178.     The 3 by 3 matrix produces 10 greyscale values or 1,000 possible colors (10
  179.     intensities of cyan times 10 of magenta times 10 of yellow), per pixel.
  180.     The 4 by 4 matrix provides 17 greyscale values or 4,913 possible colors per
  181.     pixel (do the math yourself).  When dithering is used, the effective output
  182.     is even higher, due to the pixel averaging that takes place in the eye.
  183.  
  184.     Resolution selects the size of the output pixels.  At 300 dots per inch
  185.     (dpi) resolution, one output pixel is one dot, times the matrix size.  At
  186.     150 dpi, one output pixel is two dots wide and two dots high, times the
  187.     matrix size, and so on.  Obviously, the higher the output resolution, the
  188.     better looking the image.  However, with image formats like Degas low-
  189.     resolution, a 300 dpi image with a 3 by 3 matrix will only be about 3.2
  190.     inches wide!  On the other hand, resolutions below 150 are not very
  191.     useful, in the author's opinion, except perhaps for special effects.
  192.  
  193.     A side effect of changing the matrix size is that the output image size is
  194.     also changed.  The Dimension display at the bottom of the dialog is
  195.     provided to help you select the appropriate combination of matrix and
  196.     resolution.  Remember that the width of the output is restricted to a
  197.     maximum of 8 inches by the printer, and length is restricted to 10.5
  198.     inches.  When Landscape orientation is chosen, the width of the image is
  199.     mapped to the length of the page, and vice versa.
  200.  
  201. 4. General hints
  202.  
  203.     This program uses tons of memory.  It should be graceful about reporting
  204.     insufficient memory conditions, and allow you to continue without bombs.
  205.     However, the author uses it on a 4 megabyte machine and has never
  206.     encountered this condition, so be warned.  Until such time as Atari comes
  207.     out with a virtual memory operating system, serious image processing will
  208.     require lots of RAM.
  209.  
  210.     From the author's own experience, the HP JetSeries CutSheet Paper (HP
  211.     part number 51630Y) is highly recommended for color printing.  This
  212.     specially-coated paper produces blacker blacks and brighter brights than
  213.     any other paper that was tried.  If you've been less than impressed with
  214.     the quality of the color output and have not used the HP paper, give it
  215.     a try.
  216.  
  217.     For printing with black ink, use a good-quality ink jet paper.  I usually
  218.     use the printer's "Draft Quality" setting and a gamma of 1.0.
  219.  
  220.     The most spectacular images I have printed have been 24-bit raytraces from
  221.     the DKB raytracer, in QRT format.  If you have access to this software, I
  222.     highly recommend it.
  223.  
  224.     The second most spectacular images I have printed have been 256-color GIFs
  225.     of size 640 by 480 or larger.  But note: all GIFs are not created equal!
  226.     Since by definition the format requires a color look-up table, the software
  227.     which generates the look-up table from the original image is crucial.  Many
  228.     GIF images end up using only a fraction of the total 256 colors available,
  229.     and the result is a less-than-perfect reproduction of the original image.
  230.     The GIF files that have the optimally-chosen set of 256 colors and that use
  231.     all of them are quite stunning.
  232.  
  233.     Spectrum 512 images also look good if you do not enlarge them too much.
  234.     Try printing them two to a page (V-just "Top" for the first and V-just
  235.     "Bottom" for the second; remember to reload the page image-side down), at
  236.     150 dpi resolution with the 3 by 3 matrix (6.4 inches by 4.0 inches).
  237.  
  238. 5. The legal department: No warranty
  239.  
  240.     The author believes that this software will do a reasonable job of printing
  241.     the supported file formats on an HP DeskJet 500 or 500C printer.  However:
  242.  
  243.     This software is freeware.  As such, it is provided on an as-is basis,
  244.     with absolutely no warantees, either express or implied, including, but not
  245.     limited to performance, usefulness, reliability, fitness for a particular
  246.     purpose or merchantability.  The user assumes any and all risk involved in
  247.     the use of this software.  In no event will the author be liable for
  248.     direct, indirect, incidental, or consequential damages resulting from the
  249.     use of, or inability to use, this software.
  250.  
  251. 6. Support
  252.  
  253.     I am on Compuserve, in the ATARIPRO and ATARIARTS forums, fairly regularly.
  254.     I would enjoy hearing favorable comments, and also welcome suggestions, bug
  255.     reports and entreaties for future format support.  I won't promise any
  256.     particular action except to say that I am a user of this program as well
  257.     as its author.  See you on-line.
  258.  
  259.     Greg Wageman 74016,352
  260.