The Independent JPEG Group's JPEG software
==========================================

This distribution contains MS-DOS executable copies of version 6b of the
Independent JPEG Group's free JPEG software.  You are welcome to redistribute
this software and to use it for any purpose, subject to the conditions under
LEGAL ISSUES, below.

This version of the software is compiled in 32-bit mode; therefore it runs
ONLY on PCs with 386 or better CPUs.  It runs 25% to 50% faster than the
plain 16-bit version.  It will run in a Windows or OS/2 DOS window as well as
under plain MS-DOS.  You'll need at least a megabyte of extended or expanded
memory to get decent performance.  (For older machines, use the plain 16-bit
version of the IJG software, which should be available from the same place
you got this package.)

For usage instructions, see the file usage.doc.  Useful information can also
be found in the JPEG FAQ (Frequently Asked Questions) article, posted
regularly in the Usenet newsgroups comp.graphics.misc and news.answers.

Please report any problems with this software to jpeg-info@uunet.uu.net.


INSTALLATION
============

IMPORTANT: these programs require DPMI support.  Windows 3.1, Win/95, Win/NT,
OS/2, QDPMI, 386Max and Linux DOSEmu all provide DPMI services, so if you
have one of those, no problem.  Otherwise get the free "CWSDPMI" server
from the DJGPP distribution.  It's available from
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2misc/csdpmi3b.zip
or any Simtelnet mirror site.  (You don't need to do anything fancy to
install CWSDPMI; just make sure that cwsdpmi.exe is somewhere in your path.)

With that out of the way, the programs should run: try typing "cjpeg" or
"djpeg" and see if you get a screenful of help info.  If not, you may have
better luck using CWSDPMI instead of your system's own DPMI server.  For
more help dealing with system conflicts, get the DJGPP FAQ from
ftp://ftp.cdrom.com/pub/simtelnet/gnu/djgpp/

The programs' "-dct float" option will not work if you don't have FPU
hardware.  You could get DJGPP and install its math emulator, but it
will run so slowly that you may as well not bother.


LEGAL ISSUES
============

In plain English:

1. We don't promise that this software works.  (But if you find any bugs,
   please let us know!)
2. You can use this software for whatever you want.  You don't have to pay us.
3. You may not pretend that you wrote this software.  If you use it in a
   program, you must acknowledge somewhere in your documentation that
   you've used the IJG code.

In legalese:

The authors make NO WARRANTY or representation, either express or implied,
with respect to this software, its quality, accuracy, merchantability, or
fitness for a particular purpose.  This software is provided "AS IS", and you,
its user, assume the entire risk as to its quality and accuracy.

This software is copyright (C) 1991-1998, Thomas G. Lane.
All Rights Reserved except as specified below.

Permission is hereby granted to use, copy, modify, and distribute this
software (or portions thereof) for any purpose, without fee, subject to these
conditions:
(1) If any part of the source code for this software is distributed, then this
README file must be included, with this copyright and no-warranty notice
unaltered; and any additions, deletions, or changes to the original files
must be clearly indicated in accompanying documentation.
(2) If only executable code is distributed, then the accompanying
documentation must state that "this software is based in part on the work of
the Independent JPEG Group".
(3) Permission for use of this software is granted only if the user accepts
full responsibility for any undesirable consequences; the authors accept
NO LIABILITY for damages of any kind.

These conditions apply to any software derived from or based on the IJG code,
not just to the unmodified library.  If you use our work, you ought to
acknowledge us.

Permission is NOT granted for the use of any IJG author's name or company name
in advertising or publicity relating to this software or products derived from
it.  This software may be referred to only as "the Independent JPEG Group's
software".

We specifically permit and encourage the use of this software as the basis of
commercial products, provided that all warranty or liability claims are
assumed by the product vendor.


We are required to state that
    "The Graphics Interchange Format(c) is the Copyright property of
    CompuServe Incorporated.  GIF(sm) is a Service Mark property of
    CompuServe Incorporated."


SOURCE CODE
===========

The source code from which this software was generated is freely available.
The "official" archive site for the source code is ftp.uu.net (Internet
address 192.48.96.9).  The most recent released version can always be found
there in directory graphics/jpeg.  This particular version is archived as
ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz.  If you don't have
direct Internet access, UUNET's archives are also available via UUCP; contact
help@uunet.uu.net for information on retrieving files that way.

You can also obtain the source in DOS-compatible "zip" archive format from the
SimTel archives (ftp://ftp.simtel.net/pub/simtelnet/msdos/graphics/), or on
CompuServe in the Graphics Support forum (GO CIS:GRAPHSUP), library 12 "JPEG
Tools".  Note these versions may sometimes lag behind the ftp.uu.net release.

Note that the user interface used here differs from the Unix-style user
interface found in the main IJG distribution.  Source code for the DOS user
interface is in file jpegaltui.v6b.tar.gz at ftp.uu.net.

You are welcome to use the source code in other JPEG-related programs.
The conditions for doing so may be found in LEGAL ISSUES, above.

The executables in this package were compiled using DJGPP 2.01.
DJGPP is a DOS version of the free GNU C compiler.  You can obtain it
via Internet from ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/
(or other SimTel archive sites).

The JPEG FAQ (Frequently Asked Questions) article is a useful source of
general information about JPEG.  It is updated constantly and therefore is
not included in this distribution.  The FAQ is posted every two weeks to
Usenet newsgroups comp.graphics.misc, news.answers, and other groups.
It is available on the World Wide Web at http://www.faqs.org/faqs/jpeg-faq/
and other news.answers archive sites, including the official news.answers
archive at rtfm.mit.edu: ftp://rtfm.mit.edu/pub/usenet/news.answers/jpeg-faq/.
If you don't have Web or FTP access, send e-mail to mail-server@rtfm.mit.edu
with body
	send usenet/news.answers/jpeg-faq/part1
	send usenet/news.answers/jpeg-faq/part2
