home *** CD-ROM | disk | FTP | other *** search
/ PC Format 12 / Disk12.iso / GIF2JPG5.EXE / GIF2JPG.DOC next >
Text File  |  1991-05-13  |  37KB  |  922 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.                                 GIF2JPG and JPG2GIF
  21.  
  22.                                     Version 1.5
  23.  
  24.  
  25.                                     May 13, 1991
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.                               Handmade Software, Inc.
  46.                            15951 Los Gatos Blvd., Suite 7
  47.                                 Los Gatos, CA  95032
  48.  
  49.                                 +1 408 356 4143 fax
  50.                                 +1 408 358 1292 tel
  51.  
  52.                               uucp:  apple!netcom!hsi
  53.                              internet:  hsi@netcom.com
  54.                               compuserve:  71330,3136
  55.  
  56.  
  57.                               Copyright (c) 1990-1991
  58.                                 All Rights Reserved
  59.  
  60.  
  61.  
  62.  
  63.                                     Introduction
  64.  
  65.  
  66.            JPG2GIF and GIF2JPG are a set of shareware programs which
  67.            convert GIF files to JPEG files and JPEG files back to GIF
  68.            files.
  69.  
  70.            Why would you want to do this?
  71.  
  72.            Because typically JPEG files are several times smaller than
  73.            GIF files.  So, by converting images from GIF to JPEG you save
  74.            on modeming time, long distance charges, and disk storage
  75.            requirements.  The disadvantage is that you can't view JPEG
  76.            files directly; you have to convert them back to GIF files so
  77.            that you can use your favorite GIF viewer.
  78.  
  79.  
  80.  
  81.  
  82.                               Using GIF2JPG & JPG2GIF
  83.  
  84.  
  85.            To convert .GIF files to .JPG files:
  86.  
  87.            GIF2JPG [options] [files...]
  88.  
  89.            If any .JPG files with the same name already exist you will be
  90.            asked whether to overwrite them.  If any GIF89A files are
  91.            encountered you will be asked whether or not to convert them.
  92.            GIF89A files are not automatically converted since they can
  93.            contain text and multiple images; this information will be
  94.            lost when the image is converted to a JPEG file.
  95.  
  96.  
  97.            To convert .JPG files to .GIF files:
  98.  
  99.            JPG2GIF [options] [files...]
  100.  
  101.            If any .GIF files already exist you will be asked whether or
  102.            not to overwrite them.
  103.  
  104.  
  105.            There are two options which are common to both programs:
  106.  
  107.                 -a:  automatically proceeds (overwriting any existing
  108.                      files and converting GIF89A files).
  109.  
  110.                 -k:  kill (removes) the original files after they are
  111.                      processed.
  112.  
  113.  
  114.  
  115.  
  116.            The GIF2JPG program has two additional options:
  117.  
  118.                 -q[n]:  specify the JPEG quality factor which will be
  119.                         used when compressing GIF files.
  120.  
  121.                         The default is 55.
  122.  
  123.                         A lower number will result in a higher
  124.                         compression ratio, but a lower quality image.
  125.                         Specifying a very low quality factor (less than
  126.                         15) will result in poor quality images.
  127.  
  128.                 -j:     force compatibility with JFIF standard (also
  129.                         versions of GIF2JPG v1.41 and before).
  130.  
  131.  
  132.  
  133.            Note that you may specify wild cards as part of the file name
  134.            and that multiple file names may be specified.
  135.  
  136.  
  137.            Examples:
  138.  
  139.  
  140.            GIF2JPG  -q30 *.gif
  141.  
  142.            Will convert all .GIF files in the current directory to .JPG
  143.            files, using a quality factor of 30.
  144.  
  145.  
  146.            JPG2GIF  -k -a  test.jpg  madonna.jpg  n?.jpg
  147.  
  148.            Will convert the specified files back to .GIF files, deleting
  149.            the .JPG files and automatically overwriting the existing GIF
  150.            files.
  151.  
  152.  
  153.  
  154.  
  155.                                Hardware Requirements
  156.  
  157.            An IBM PC or clone (at least an 80286 for any kind of
  158.            performance).
  159.  
  160.            A hard drive (JPG2GIF needs to open temporary files while
  161.            processing; you must have at least 3 times as much disk space
  162.            available as the largest image you are converting (for
  163.            example, a 640 by 480 file requires 1 Megabyte of free space].
  164.  
  165.            MS-DOS or PC-DOS 3.1 or later.
  166.  
  167.            380K of available RAM.
  168.  
  169.  
  170.  
  171.  
  172.                                      Shareware
  173.  
  174.  
  175.            GIF2JPG and JPG2GIF are shareware programs.  Please feel free
  176.            to distribute them by giving copies to your friends, uploading
  177.            them to bulletin boards, and trading them at user clubs.  You
  178.            must distribute them unaltered, and as a set, including this
  179.            document.  You may not sell these files for more than a $7.00
  180.            media duplication cost.
  181.  
  182.            You may use GIF2JPG and JPG2GIF on a trial basis for two
  183.            weeks; after that you must register by sending us $20 or stop
  184.            using them.  The last page of this document is an order form
  185.            which you may use.  When you register, you will be shipped a
  186.            copy of the latest version of JPG2GIF and GIF2JPG (if,
  187.            according to your order form, you already have the latest
  188.            version, we will ship you the first update when it is
  189.            available).
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                    Image Quality
  196.  
  197.  
  198.            JPEG compression works best on images which are continuous
  199.            tone images, such as those produced by a scanner or digitizer.
  200.            Images which are drawn with paint programs typically do not
  201.            JPEG compress very well.
  202.  
  203.            In addition, the best quality JPEG images result when you
  204.            start with 24 bit, undithered images.  Unfortunately GIF does
  205.            not support 24 bit images; and most of the 8 bit GIF images
  206.            are dithered.
  207.  
  208.            So, if you are using a scanner or digitizer to produce images,
  209.            you can get better compression ratios, and better quality
  210.            images, if you generate 24 bit Targa or TIFF files and then
  211.            convert them to JPEG files.  You can't do this with GIF2JPG,
  212.            but you can with another Handmade product, Image Alchemy.  See
  213.            the blatant ad below.
  214.  
  215.  
  216.  
  217.  
  218.                        Answers to Frequently Asked Questions:
  219.  
  220.  
  221.            Q:   How do you pronounce JPG?
  222.  
  223.            A:   Jay-peg.  JPG is short for JPEG, which is short for Joint
  224.                 Photographic Experts Group.  Note that we use JPEG and
  225.                 JPG to mean the same thing;  JPG only exists because PC
  226.                 file names are restricted to having a three letter
  227.                 extension.
  228.  
  229.                 By the way, we firmly believe that GIF should be
  230.                 pronounced with a hard G like the word gift.  The primary
  231.                 justification for this is that GIF stands for Graphics
  232.                 Interchange Format, and the word Graphics starts with a
  233.                 hard G.  So if you call us up for tech. support don't be
  234.                 surprised if we say GIF (with a hard G).
  235.  
  236.  
  237.            Q:   So what exactly is JPEG?
  238.  
  239.            A:   JPEG is a lossy image file compression standard.  It is
  240.                 lossy because the files you get out are not quite the
  241.                 same as the files you get in.  JPEG compression achieves
  242.                 much higher compression ratios this way.  Most of the
  243.                 time the changes to the image are not noticeable.  The -q
  244.                 option allows you to control the amount of loss (and the
  245.                 compression ratios) of the images.
  246.  
  247.                 If you would like more information on the JPEG standard
  248.                 please contact:
  249.  
  250.                 X3 Secretariat
  251.                 Computer and Business Equipment Manufacturers Institute
  252.                 311 First Street NW, Suite 500
  253.                 Washington, DC  20001-2178
  254.  
  255.  
  256.            Q:   Are GIF2JPG .JPG files compatible with anything else?
  257.  
  258.            A:   Those files which are written using the -j option are
  259.                 compatible with the JPEG File Interchange Format standard
  260.                 (JFIF, pronounced Jay-fif).  JFIF software will be
  261.                 available from a wide variety of software and hardware
  262.                 vendors including Radius and C-Cube.  Files written out
  263.                 without the -j option are a custom format specific to
  264.                 Handmade Software (though for historical reasons they
  265.                 also have a .JPG extension).
  266.  
  267.  
  268.  
  269.  
  270.            Q:   Why can't I view a JPG file directly?
  271.  
  272.            A:   JPEG files are always 24 bit images, which can't be
  273.                 viewed directly on VGA boards.  So unless you have a
  274.                 Targa board or a XGA compatible IBM PS/2 you don't have
  275.                 the needed hardware to view a JPG file directly (and in
  276.                 fact there aren't enough of those boards currently in
  277.                 circulation to justify writing a JPG view).
  278.  
  279.                 It is possible to convert a 24 bit image for display on
  280.                 an 8 bit display, that is after all what JPG2GIF does
  281.                 when it converts to a GIF file, but it is slow.  Image
  282.                 Alchemy, another Handmade Software product, lets you view
  283.                 JPEG files directly, but it uses a uniform palette, which
  284.                 produces sub-optimal image quality (the viewing mode in
  285.                 Image Alchemy is intended as a preview only).
  286.  
  287.  
  288.            Q:   What is planned for future releases of GIF2JPG?
  289.  
  290.            A:   Faster conversion time.  We are currently re-coding the
  291.                 software from C into 80386 assembly language.  This
  292.                 should allow 80386 users to decompress an image in less
  293.                 than half the time it currently takes (we are only
  294.                 writing 80386 code because the technique we are using
  295.                 requires 1 megabyte of continuous RAM, and because of the
  296.                 wonderful Intel segmented architecture, it's not really
  297.                 possible to do this on anything less than a 80386).
  298.  
  299.  
  300.                 The other major addition will be thumbnails in the JPG
  301.                 files.  Thumbnails are a low-resolution copy of the
  302.                 original image (64 pixels by 48 pixels).  Thumbnails are
  303.                 useful if you want to preview an image before downloading
  304.                 and/or converting it.
  305.  
  306.                 In the not too distant future you will able to call up a
  307.                 BBS, look through a listing of JPG files, select some
  308.                 number of images for previewing, and have the BBS quickly
  309.                 download the thumbnails of those images.  You then select
  310.                 which of those images you really want and the BBS will
  311.                 download them (by the way, if you are an author of BBS
  312.                 software and you want your BBS to support this please
  313.                 contact us).
  314.  
  315.  
  316.  
  317.  
  318.                     Explanation of why GIF files grew when using
  319.  
  320.                  GIF2JPG v1.41 and why this doesn't happen anymore:
  321.  
  322.  
  323.  
  324.            First a few definitions:
  325.  
  326.            A continuous tone image is one where there aren't any sharp
  327.            edges between objects in the image, instead there are lots of
  328.            intermediate colours around the edges of objects.  Images like
  329.            this are created when you scan a photograph or use a video
  330.            digitizer with a video camera.  Another property of continuous
  331.            tone images is that there aren't any large areas which are
  332.            only one colour, instead there are many subtle different
  333.            shades of colour.
  334.  
  335.            A drawn image is exactly that, an image drawn using a paint
  336.            program.  Drawn images look like they are out of comic books,
  337.            they have sharp edges and large areas which are one solid
  338.            colour.
  339.  
  340.  
  341.            JPEG compression is an image compression technique which
  342.            compresses continuous tone images.  You can JPEG compress a
  343.            drawn image, but you wouldn't want to (for reasons which are
  344.            explained below).
  345.  
  346.            GIF is a compression technique which works on both continuous
  347.            tone or drawn images.  GIF compression works much better on
  348.            drawn images, but most of the GIF images in the world are
  349.            continuous tone images.
  350.  
  351.  
  352.  
  353.            So why do some images grow when going from GIF to JPEG and
  354.            back to GIF?
  355.  
  356.            That has to do with the differences between continuous tone
  357.            and a drawn images.
  358.  
  359.            Take for example a photograph of a dog standing in front of a
  360.            uniform blue wall.  Even if the original picture looked like
  361.            the wall was one colour, when you scanned it the computer
  362.            would see subtle shadows and highlights in the wall (not to
  363.            mention the fact that scanning an image introduces sampling
  364.            noise).  There also wouldn't be any instantaneous transitions
  365.            between two colours;  even at the edge of the dog there would
  366.            be several pixels of anti-aliasing.  You don't see these
  367.            things when looking at the photograph because you are used to
  368.            small changes in colour and detail, this is way you can tell
  369.            the difference between computer generated images and images of
  370.            real things (though with enough computing power it is now
  371.            possible to make the differences very small).
  372.  
  373.  
  374.  
  375.  
  376.            Now in contrast to scanning, think about using a paint program
  377.            to draw a picture of a dog standing in front of a blue wall.
  378.            The first step is to take a nice shade of blue and fill the
  379.            entire frame, this will be the wall.  You then grab a suitable
  380.            dog colour and draw the outline of the dog.  Next you use
  381.            variations of this colour and fill in the dog.  When you were
  382.            finished you would have an image of a dog standing in front of
  383.            a blue wall.
  384.  
  385.            You now have two different image files.  A continuous tone
  386.            image of a dog against a blue wall and a drawn image of a dog
  387.            against a blue wall.
  388.  
  389.            If you now take each of these files and convert them to a GIF
  390.            file, the first file will be much larger than the second file
  391.            (how much larger depends on how many different colours you
  392.            used to fill in the dog, but a factor of 3 to 4 is likely).
  393.            This difference in files sizes is caused by the compression
  394.            technique that GIF uses.  GIF compression works great on areas
  395.            of solid colours and sharp transitions between colours.  So
  396.            the solid blue background in the drawn image would compress
  397.            phenomenally well, as would the area where the blue touches
  398.            the dog outline colour.  The only part of the scene which
  399.            wouldn't GIF compress really well is the actual dog.
  400.  
  401.            If instead of converting the scanned image and the drawn image
  402.            to GIF files, you were to JPEG compress them, you would get
  403.            different results;  each file would be pretty much the same
  404.            size.  This is because JPEG compression was designed to
  405.            compress continuous tone images.  Therefore JPEG compression
  406.            works equally well for areas that are a single colour as
  407.            for areas with subtle shading (in fact, under certain
  408.            circumstances, JPEG compression works better for areas which
  409.            are shaded than for areas which are all a single colour).  So
  410.            the scanned image of the dog and the drawn images would be
  411.            pretty much the same size if JPEG compressed.
  412.  
  413.            So far so good, we have shown that JPEG compression is better
  414.            than GIF compression for scanned images and it doesn't matter
  415.            for drawn images.  What does this have to do with files
  416.            growing in size when they are converted from GIF to JPEG and
  417.            back to GIF?
  418.  
  419.            Well, if we were to convert the JPEG file of the drawn dog to
  420.            a GIF file something interesting would happen.  The solid blue
  421.            wall the dog is standing in front of would no longer be one
  422.            colour, it would consist of a large number of slightly
  423.            different shades of blue.  This occurs because JPEG
  424.            compression is allowed to slightly alter the colours of
  425.            individual pixels.  This is why JPEG compression ratios are so
  426.            good.  Ordinarily these minor changes are not significant;
  427.            usually they are not even visible to the human eye.  So the
  428.            blue wall would no longer be one identical blue colour.  When
  429.  
  430.  
  431.  
  432.  
  433.            humans look at this area they don't perceive it this way; as
  434.            far as humans are concerned it is still solid blue.
  435.            Unfortunately GIF compression is not so forgiving.  When you
  436.            try to GIF compression an area of image which is many
  437.            different shades of one colour, all randomly intermixed, GIF
  438.            compression does a terrible job.
  439.  
  440.            We have known about this problem with JPEG compression for a
  441.            long time.  In fact GIF2JPG has included code from the first
  442.            version to detect when the image being converted to a JPEG
  443.            file was a drawn image .  If it was the image was left as a
  444.            GIF file.
  445.  
  446.            Unfortunately there seem to be a large number of files which
  447.            are half-scanned and half-drawn.  These images tend to be of
  448.            the following type (I tried to draw a dog in the right hand
  449.            side of the screen to match the previous discussion, but it's
  450.            real hard to draw with the ASCII charset):
  451.  
  452.             +----------------------------------------------------------+
  453.             |                         |..............**......./\.......|
  454.             |  This image downloaded  |.............**......./XX\......|
  455.             |    from Smiling Joe's   |............*.........\XX/......|
  456.             |      House of GIFs.     |......../\.|.|.........\/.......|
  457.             |                         |......./..\|.|..........|.......|
  458.             |                         |....../....\.|........./........|
  459.             |                         |...../......\|........|.........|
  460.             |   Call 1-900-JOESGIF    |..../........\........|.........|
  461.             |                         |...|..........|....../..........|
  462.             |                         |...|..........|...O.|...........|
  463.             |   Commercial use or     |...|..........|..-+-............|
  464.             |    distribution not     |...|..........|...|.............|
  465.             |       permitted.        |...|__________|../ \............|
  466.             |                         |................................|
  467.             +-----------------------------------------------------------
  468.  
  469.            Where the left half was drawn using a paint program and only
  470.            contains two or three different colours (therefore there are
  471.            lots of areas of just one colour and lots of sharp transitions
  472.            between colours), and the right half of the image was scanned
  473.            from a photograph and therefore contains lots of different
  474.            colours (and different shades of those colours).
  475.  
  476.            The problem with this image is that the left side shouldn't be
  477.            JPEG compressed.  Unfortunately the previous versions of
  478.            GIF2JPG weren't very smart, they would look at the image as a
  479.            whole and, because a large portion of it was continuous tone,
  480.            decide that it was okay to JPEG compress it.  Unfortunately
  481.            when the JPEG compressed file is converted back to a GIF file
  482.            the left hand side of the image will grow, making the
  483.            resultant GIF file much larger than the original GIF file.
  484.  
  485.  
  486.  
  487.  
  488.            This new version of GIF2JPG fixes this problem.  It looks at
  489.            the image in a piece-by-piece manner, deciding independently
  490.            if each piece should be JPEG compressed or not.  All the
  491.            pieces are then combined into one file.
  492.  
  493.            JPG2GIF takes this file and converts it back to a single GIF
  494.            image.
  495.  
  496.  
  497.            What does all this really mean?
  498.  
  499.            Assume that the original image was 640 x 480 with 256 colours.
  500.            As a GIF image it was 150k.  Converting it to a JPEG file
  501.            using v1.41 or before caused it to shrink to 65k.  Converting
  502.            it back to a GIF file caused the resultant file to grown to
  503.            210k.
  504.  
  505.            Now using GIF2JPG v1.5 the JPEG file would still be 65k;  and
  506.            when the image is converted back to a GIF the size is 150k.
  507.  
  508.            So when you JPEG compress an image using this new version of
  509.            GIF2JPG you will get a file which does not grow significantly
  510.            when decompressed (the image can grow or shrink slightly, this
  511.            is due to the way that the pseudo-randomness of JPEG
  512.            compression and GIF compression inter-react).
  513.  
  514.            To test this we have taken a large number of GIF files (some
  515.            sent in by users of previous versions GIF2JPG and some we had
  516.            laying around) and JPEG compressed them and then converted
  517.            them back to GIFs.
  518.  
  519.            The results are that we started out with 10,456,995 bytes of
  520.            GIF files, when they were JPEG compressed they reduced to
  521.            4,969,851 bytes.
  522.  
  523.            And when the images were converted back to GIF they ended up
  524.            at 9,972,594.  The actual file sizes can be found in appendix
  525.            A, below.  Note that some of the files grew slightly and some
  526.            shrunk slightly, but none changed an extreme amount.
  527.  
  528.  
  529.            One problem with this new technique of only partially JPEG
  530.            compressing an image is that the files produced are
  531.            incompatible with older versions of GIF2JPG.  Therefore we
  532.            have included the -j option to generate the old style JPEG
  533.            files.  Note that JPG2GIF automatically reads old .JPG files,
  534.            so any files you have already converted to JPEG do not need to
  535.            be updated (though if any are half continuous tone and half
  536.            drawn it would be a good idea to re-compress the original GIF
  537.            file).
  538.  
  539.  
  540.  
  541.  
  542.                            Is JPEG compression too slow?
  543.  
  544.  
  545.            Recently we have gotten some complaints that JPEG compression
  546.            and decompression is too slow.  We admit that it is slow, and
  547.            we are working on speeding it up;  but we disagree that it is
  548.            too slow.  If you are going to be sending GIF images over a
  549.            modem, it is faster to JPEG compress and decompress them, than
  550.            to send the GIF files.
  551.  
  552.            To illustrate this we have done some timing benchmarks.
  553.  
  554.            We took 81 GIF files at random from those that had been sent
  555.            in for various reasons and off of disks of images we had
  556.            laying around.  The images were not selected because they JPEG
  557.            compressed particularly well, we just kept copying files off
  558.            of disks until we had 10 megabytes worth.
  559.  
  560.            The computer used for these tests is a 20MHz 80386, with 4
  561.            Megabytes of RAM, no RAM cache, and a really slow hard drive
  562.            (an ST-225).  The command line used to convert the files from
  563.            GIF to JPEG was "GIF2JPG *.gif" and the command to convert
  564.            them back was "JPG2GIF *.jpg" (we deleted the original GIF
  565.            files by hand between to two steps).
  566.  
  567.            The actual number of bytes in the 81 GIF files was 10,456,995.
  568.            When the files were JPEG compressed the total file size was
  569.            4,969,851 bytes, a savings of 5,487,144 bytes.
  570.  
  571.            The total time to convert the files from GIF to JPEG was just
  572.            over 40 minutes, the time spent to convert them back was just
  573.            over 1 hour and 15 minutes.
  574.  
  575.            If you send the JPEG files over a 2400 baud modem you save
  576.            over 4 hours and 20 minutes, including the time needed to both
  577.            compress and decompress the files.  If you were just
  578.            downloading them from a BBS, and you only had to convert them
  579.            from JPEG to GIF, the time saved is over 5 hours.
  580.  
  581.            Even if you are fortunate enough to have a 9600 baud modem,
  582.            and assuming 100% modem efficiency (960 characters/second),
  583.            you still would save almost 20 minutes downloading and
  584.            decompressing the images as JPEG files as compared to
  585.            downloading GIF files.
  586.  
  587.            We realize that if you have an even faster modem or a slower
  588.            computer it is possible for it to actually take more time to
  589.            transmit the JPEG file and decompress it than to transmit the
  590.            GIF files.  But with a 20MHz 386 costing less than a 9600 baud
  591.            modem it doesn't make much sense for that to be the case
  592.            (unless you bought a faster modem to save on long-distance or
  593.            BBS chargers, in which case the download time becomes much
  594.            more important than the total time and it therefore makes even
  595.            more sense to JPEG compress files before transmitting them).
  596.  
  597.  
  598.  
  599.  
  600.            For those of you using a Telebit Trailblazer with an original
  601.            4.77 MHz IBM PC, we suggest you sell your modem and buy a
  602.            faster computer.
  603.  
  604.  
  605.            The actual details are:
  606.  
  607.  
  608.            Size of original GIF files:  10,456,995 bytes
  609.  
  610.            Size of JPEG files:  4,969,851 bytes
  611.  
  612.            Difference:  5,487,144 bytes
  613.  
  614.  
  615.            Total time to JPEG compress all images:  40:11 (2411 seconds)
  616.  
  617.            The total time to convert all JPEG images back to GIF images:
  618.            1:16:52 (4612 seconds).
  619.  
  620.  
  621.            Theoretical time to transmit the GIF files (10,456,995 bytes)
  622.            at 2400 baud (240 characters/second):  12:06:11 (43,571
  623.            seconds)
  624.  
  625.            Theoretical time to transmit the JPEG files (4,969,851 bytes)
  626.            at 2400 baud (240 characters/second):  5:45:08 (20,708
  627.            seconds)
  628.  
  629.            Total transmission time saved:  6:21:03 (22,863 seconds)
  630.  
  631.  
  632.            Net difference (transmission time-compression time-
  633.            decompression time):  4:24:00 (15,840 seconds)
  634.  
  635.  
  636.            The actual file sizes can be found in Appendix A.
  637.  
  638.  
  639.  
  640.  
  641.                                   Change History:
  642.  
  643.  
  644.                                    v1.5  05/13/91
  645.  
  646.  
  647.            Changed .JPG file format to solve problem which caused some
  648.            .GIF files to grow when being converted back from .JPG files.
  649.  
  650.            Added support for reading interleaved GIFs.
  651.  
  652.            The background colour of GIFs is now set to the darkest colour
  653.            in the palette.
  654.  
  655.            Added -j option.
  656.  
  657.  
  658.  
  659.                                   v1.41  04/24/91
  660.  
  661.  
  662.            Fixed bug in JPG2GIF which caused some colours to be wrong in
  663.            certain images.
  664.  
  665.  
  666.  
  667.                                    v1.4  04/22/91
  668.  
  669.  
  670.            Added -q option.
  671.  
  672.            Speeded up conversion.
  673.  
  674.  
  675.  
  676.                                    v1.3  04/18/91
  677.  
  678.  
  679.            Changed error messages, prompts, and examples.
  680.  
  681.  
  682.  
  683.                                    v1.2  03/15/91
  684.  
  685.  
  686.            Added JFIF support.
  687.  
  688.  
  689.  
  690.                                    v1.1  03/06/91
  691.  
  692.  
  693.            First release.
  694.  
  695.  
  696.  
  697.  
  698.                             Blatant Ad for Image Alchemy
  699.  
  700.            If your interest in image files extends beyond GIF and JPEG
  701.            you might be interested in Image Alchemy.
  702.  
  703.            In addition to converting between over 15 different image file
  704.            formats, including GIF, JPEG, TIFF, Targa, PCX, Sun Raster,
  705.            Silicon Graphics Image, IFF/ILBM, PBM, and Encapsulated
  706.            Postscript, Alchemy will allow you to resize images, dither
  707.            images, and view images on a VGA monitor.
  708.  
  709.            See the order form below for details on how to get a shareware
  710.            version.
  711.  
  712.  
  713.  
  714.                                   Bugs and Support
  715.  
  716.            If you have a question or think you found a bug in GIF2JPG or
  717.            JPG2GIF don't hesitate to contact us.  We prefer to be reached
  718.            by email at the addresses listed on the front page of this
  719.            manual (we apologize for not having a BBS you can call; we
  720.            will soon).  You may also fax us or call us during normal
  721.            business hours (we are on the West Coast).
  722.  
  723.            By the way, contact us even if you have not registered,
  724.            because in addition to wanting to know about potential bugs,
  725.            we figure the best way to encourage registrations is to
  726.            demonstrate that we care about our customers.
  727.  
  728.  
  729.  
  730.                                      Trademarks
  731.  
  732.            GIF2JPG, JPG2GIF, and Image Alchemy are trademarks of Handmade
  733.            Software, Inc.
  734.  
  735.            All other products or services mentioned are trademarks,
  736.            registered trademarks, or service marks of their respective
  737.            companies or organizations.
  738.  
  739.  
  740.  
  741.                                      Disclaimer
  742.  
  743.            Handmade Software, Inc. makes no warranty of any kind, either
  744.            expressed or implied, including but not limited to implied
  745.            warranties of merchantability and fitness for a particular
  746.            purpose.
  747.  
  748.            In no event shall Handmade Software, Inc. be liable for any
  749.            errors contained herein or for incidental or consequential
  750.            damages in connection with the furnishing, performance, or use
  751.            of the GIF2JPG or JPG2GIF products or documentation.
  752.  
  753.  
  754.  
  755.  
  756.                                     Appendix A:
  757.  
  758.  
  759.            Details of the test files referred to above:
  760.  
  761.  
  762.            (The file names have been removed to obscure the fact that the
  763.            images were all R or NC-17 rated).
  764.  
  765.                   Original                     Duplicate
  766.                   GIF Size      JPEG Size       GIF Size
  767.  
  768.                     228352         128199         248055
  769.                      81929          81929          81929
  770.                     204800         113507         225832
  771.                     195850          86071         195203
  772.                      78099          31053          88188
  773.                     133658          47816          72605
  774.                     170774          71769         183633
  775.                      42298          24735          51734
  776.                     228992          93782         208251
  777.                      16681          16681          16681
  778.                      15780          15780          15780
  779.                      18762          18762          18762
  780.                     134760          77648         140563
  781.                     166047          76972         178659
  782.                     199651          75207         194445
  783.                     131758          52555         137821
  784.                      32772          20666          38948
  785.                      32910          18426          54964
  786.                     105220          37663         106165
  787.                     115222          40980         111282
  788.                      54272          28727          63358
  789.                     875472         290903         892499
  790.                     237568          66576         196817
  791.                      62673          19247          61502
  792.                      34816          17642          25287
  793.                     272964         135371         286302
  794.                     127710          45023         134910
  795.                     160501          80655         177491
  796.                     125952          34676          56130
  797.                     150586          58252         159437
  798.                      61641          61641          61641
  799.                      97197          97197          97197
  800.                      32768          17498          36573
  801.                     144706          45095         166127
  802.                      13109          13109          13109
  803.                      29409          15100          31675
  804.                     261120          81807         241612
  805.                     264448          99122         265028
  806.                      66905          23209          64457
  807.                     149632          84716         148588
  808.                      79718          27409          80401
  809.  
  810.  
  811.  
  812.  
  813.                     113664          33992          64730
  814.                      20480          14847          22415
  815.                     101439          98575         147590
  816.                     106657         106657         106657
  817.                      78758          32079          75053
  818.                      17134          17134          17134
  819.                      18288          18288          18288
  820.                      14630          14630          14630
  821.                     187264          86234         175588
  822.                      45566          45566          45566
  823.                     107284         107284         107284
  824.                      99620          99620          99620
  825.                      18150          18150          18150
  826.                     281858         100893         286064
  827.                     223734          65099         191855
  828.                     114733         114733         114733
  829.                      63328          63328          63328
  830.                     180395         180395         180395
  831.                     269755          85543         223617
  832.                     206593          84623         208314
  833.                     200215          85709         203982
  834.                     171903          61121         168577
  835.                      28544          26261          33445
  836.                     268629         119638         318371
  837.                      53248          15785          31031
  838.                      79872          24247          43045
  839.                      63488          19721          34855
  840.                      51200          36165          62308
  841.                     503890         166076         279601
  842.                     152935          51132          84908
  843.                     126206          50525         126728
  844.                      33792          33792          33792
  845.                     113115          48050         101624
  846.                      60829          60829          60829
  847.                      91885          56562          97789
  848.                      49333          49152          54835
  849.                      35840          35840          35840
  850.                     288316          58595         205519
  851.                      66747          66747          66747
  852.                     110196          43058         118116
  853.  
  854.                   10456995        4969851        9972594
  855.  
  856.            If you would like copies of the actual images to verify these
  857.            results just send us enough blank, formatted disks, to hold 10
  858.            megabytes (i.e. nine 1.2 meg disks, eight 1.4 meg disks,
  859.            twenty-nine 360k disks, or fifteen 720k disks), and a self-
  860.            addressed, stamped box.  We will also need a signed note
  861.            stating that you are over 18 and want to receive adult images
  862.            (yes, the test images were almost all R or NC-17 rated).
  863.  
  864.  
  865.  
  866.  
  867.                          JPG2GIF and GIF2JPG 1.5 Order Form
  868.  
  869.  
  870.    Send to:       Handmade Software, Inc.
  871.                   15951 Los Gatos Blvd., Suite 7
  872.                   Los Gatos, CA  95032
  873.  
  874.  
  875.    Qty    Description                                       Price     Total
  876.  
  877.  
  878.  
  879.    _____  JPG2GIF & GIF2JPG for IBM PC                      $20.00  __________
  880.  
  881.  
  882.    _____  Image Alchemy -- Shareware version                 $2.00  __________
  883.  
  884.  
  885.           Sub-Total:                                                __________
  886.  
  887.  
  888.           California Residents add applicable sales tax             __________
  889.  
  890.  
  891.           Total                                                     __________
  892.  
  893.  
  894.    Circle Disk size:        3 1/2"           5 1/4"
  895.  
  896.  
  897.    Circle Payment form:       Check       MC       Visa       Amex
  898.  
  899.  
  900.    Card #:______________________________________     Exp. Date:   ____________
  901.  
  902.  
  903.  
  904.    Signature: _____________________________________________________
  905.  
  906.  
  907.    Name: ___________________________________________________________
  908.  
  909.    Address: ________________________________________________________
  910.  
  911.             ________________________________________________________
  912.  
  913.    City: ___________________________ State: _________ Zip: _________
  914.  
  915.    Phone: (______) ________________   Fax: (______) ________________
  916.  
  917.  
  918.  
  919.    Phone number of BBS you got this program from: __________________
  920.  
  921.  
  922.    Name of BBS: ____________________________________________________