
                                Release Notes

                         Fastgraph/Image for Windows
                                 Version 5.01



                           Ted Gruber Software, Inc.
                                 PO Box 13408
                             Las Vegas, NV  89112

                             (702) 735-1980 voice
                              (702) 735-4603 FAX

                               fastgraph@aol.com
                           http://www.fastgraph.com

               Copyright (c) 1995-1998 Ted Gruber Software, Inc.
                             All Rights Reserved.


------------------------------------------------------------------------------
                                 Introduction
------------------------------------------------------------------------------

The Fastgraph/Image 5.01 for Windows (FGIW) maintenance update is a version
compatibility update for Fastgraph 5.01 for Windows. It includes additional
compiler support, minor enhancements to existing routines, bug fixes, and new
versions of the FGIW example programs for each supported programming language.

This distribution contains patch files, not full libraries or units. After you
apply the patches, your FGIW 5.00 libraries will be converted to version 5.01.
Complete instructions for applying the update patches are provided later in
this document.

The FGIW 5.01 update will work only if you have installed FGIW from the
version 5.00 distribution disks.

In addition, the update will work properly only with the original libraries or
unit files. If you have modified these files in ANY WAY, you must re-install
the original libraries, update the original libraries, and then make your own
modifications to the resulting libraries.

Before applying the FGIW 5.01 update, you should make sure the disk drive on
which the library or unit files reside has at least 500,000 bytes of free
space (this space is needed only during the update process). After the update,
all successfully patched files will be dated 10-08-98 (October 8, 1998) and
have a 5:01 a.m. time stamp.

The files in this distribution are:

     README.TXT    This file in ASCII text format
     README.WRI    This file in Windows Write format
     PATCH.EXE     RTPatch application utility program
     FGIW501.RTP   Fastgraph/Image 5.01 for Windows update patches

     FGIWIN.H      Fastgraph/Image 5.01 for Windows header file for C/C++
     FGIWIN.MOD    Fastgraph/Image 5.01 for Windows module file for Fortran

     EXBASIC.ZIP   New versions of the FGIW example programs (Visual Basic)
     EXBLDR.ZIP    New versions of the FGIW example programs (C++Builder)
     EXC.ZIP       New versions of the FGIW example programs (C/C++)
     EXDELPHI.ZIP  New versions of the FGIW example programs (Delphi)
     EXFOR.ZIP     New versions of the FGIW example programs (Fortran)
     EXPASCAL.ZIP  New versions of the FGIW example programs (Pascal)

------------------------------------------------------------------------------
            New Features Added in Fastgraph/Image 5.01 for Windows
------------------------------------------------------------------------------

Support has been added for Delphi 4 and Visual Basic 6.

Additional Pentium-specific optimizations have been made to many functions.

------------------------------------------------------------------------------
            Problems Corrected in Fastgraph/Image 5.01 for Windows
------------------------------------------------------------------------------

The Win32 Delphi versions of fgi_loadpcx() and fgi_showpcx() did not correctly
interpret the palette values for 256-color PCX files greater than 64K bytes.

The fgi_showjpeg() function did not work when displaying a JPEG image directly
from the fg_imagebuf() buffer (bit 2 set in flags parameter).

The fgi_showjpeg() function no longer replicates the last image row or column
if the image width or height is not a multiple of the MCU size.

------------------------------------------------------------------------------
                              Delphi 4.0 Support
------------------------------------------------------------------------------

The Delphi 4.0 patches included in this distribution require the original FGIW
5.00 unit files for Delphi 3.0. As described in the next section (see step 2),
temporarily giving the FGIW 5.00 unit files a D40 extension creates FGIW 5.01
units for Delphi 4.0; giving them a D30 extension creates FGIW 5.01 units for
Delphi 3.0.

If you've already applied the FGIW 5.00 interim patch for Delphi 4.0, you'll
need to re-install the original FGIW 5.00 Delphi 3.0 unit files before
applying this patch. Once you have the original units, copy them into the
Delphi 4.0 LIB directory, and then apply the patch as described in the next
section.

------------------------------------------------------------------------------
             Applying the Fastgraph/Image 5.01 for Windows Patch
------------------------------------------------------------------------------

Follow these steps to apply the Fastgraph/Image 5.01 for Windows patch:

1) Copy the files PATCH.EXE and FGIW501.RTP to the directory where you've
   installed the Fastgraph/Image for Windows libraries or unit files, and make
   that directory your current directory. If you've installed FGIW for more
   than one compiler or platform and the library files reside in different
   directories, you'll need to apply the patch from each such directory (see
   step 5).

2) If you're using Delphi, rename the DCU files as follows:

        for Delphi 1.0:  RENAME FGIW*.DCU *.D10
        for Delphi 2.0:  RENAME FGIW*.DCU *.D20
        for Delphi 3.0:  RENAME FGIW*.DCU *.D30
        for Delphi 4.0:  RENAME FGIW*.DCU *.D40

3) If you're using Watcom C/C++ 11, rename the library files as follows:

        RENAME FGIWWC32.LIB FGIWVC32.LIB
        RENAME FGIWWCDD.LIB FGIWVCDD.LIB

4) Apply the patch by entering

        PATCH FGIW501

   from the DOS command line. The PATCH utility will update all FGIW 5.00
   libraries and unit files found in the current directory.

   Descriptive messages will appear as the individual patches are applied.
   When the PATCH command completes, it will display a summary showing how
   many files were updated and how many were "missing". The missing files do
   not indicate a problem but merely mean you haven't installed FGIW support
   for that particular platform, compiler, or memory model.

5) If you've installed FGIW for more than one compiler, you must repeat steps
   1 to 4 from each directory where the library or unit files are stored for a
   given compiler. For example, suppose you've installed FGIW for Borland C++
   (with library files in C:\BC45\LIB) and Delphi 1.0 (with unit files in
   C:\DELPHI\LIB). First copy the files PATCH.EXE and FGIW501.RTP to the
   C:\BC45\LIB directory and issue the PATCH command to update your Borland
   C++ libraries. Following this, update the Delphi units by copying PATCH.EXE
   and FGIW501.RTP to C:\DELPHI\LIB and issue the PATCH command again. The
   order in which you apply patches for different compilers does not matter.

6) If you're using Delphi, rename the unit files back to their original names:

        for Delphi 1.0:  RENAME FGIW*.D10 *.DCU
        for Delphi 2.0:  RENAME FGIW*.D20 *.DCU
        for Delphi 3.0:  RENAME FGIW*.D30 *.DCU
        for Delphi 4.0:  RENAME FGIW*.D40 *.DCU

7) If you're using Watcom C/C++ 11, rename the library files back to their
   original names:

        RENAME FGIWVC32.LIB FGIWWC32.LIB
        RENAME FGIWVCDD.LIB FGIWWCDD.LIB

8) After applying the patch, you may delete all extra copies of the PATCH.EXE
   and FGIW501.RTP files. You may wish to keep one copy of these files in case
   you later install libraries for other compilers or memory models from the
   Fastgraph/Image 5.00 for Windows distribution disks.

9) If you're using C/C++, C++Builder, or Fortran, copy the header or module
   files listed below to a directory where the compiler normally searches for
   such files:

        for C and C++:  FGIWIN.H
        for C++Builder: FGIWIN.H
        for Fortran:    FGIWIN.MOD

   The header and module files supplied in this distribution replace the same
   files from earlier versions of Fastgraph/Image for Windows.

------------------------------------------------------------------------------
           New Versions of the Fastgraph/Image for Windows Examples
------------------------------------------------------------------------------

We recommend updating the FGIW example programs with the versions supplied in
this distribution. You can do this as follows:

   for C and C++:     unzip EXC.ZIP into \FGIW\EXAMPLES\C
   for C++Builder:    unzip EXBLDR.ZIP into \FGIW\EXAMPLES\BUILDER
   for Delphi:        unzip EXDELPHI.ZIP into \FGIW\EXAMPLES\DELPHI
   for Fortran:       unzip EXFOR.ZIP into \FGIW\EXAMPLES\FORTRAN
   for Pascal:        unzip EXPASCAL.ZIP into \FGIW\EXAMPLES\PASCAL
   for Visual Basic:  unzip EXBASIC.ZIP into \FGIW\EXAMPLES\BASIC

If you've made any custom changes to the Fastgraph/Image for Windows examples,
you may first want to rename your modified examples or move them elsewhere.

------------------------------------------------------------------------------
            END OF FASTGRAPH/IMAGE 5.01 FOR WINDOWS RELEASE NOTES
------------------------------------------------------------------------------
