freeswitch/libs/tiff-4.0.2/contrib/win_dib
Steve Underwood b989f8d3eb The tiff-4.0.2 distribution's configure.ac seems to have two lines missing
AC_PROG_LIBTOOL
m4_include(m4/acinclude.m4)
Adding these and taking out all the Makefile.in files from the tiff-4.0.2
directory seems to sort out the build issues.
2012-09-02 14:38:13 +08:00
..
Makefile.am Added tiff-4.0.2 as the first step in moving from libtiff 3.8.2 to libtiff 4.0.2 2012-09-01 17:59:43 +08:00
Makefile.w95 Added tiff-4.0.2 as the first step in moving from libtiff 3.8.2 to libtiff 4.0.2 2012-09-01 17:59:43 +08:00
README.Tiffile Added tiff-4.0.2 as the first step in moving from libtiff 3.8.2 to libtiff 4.0.2 2012-09-01 17:59:43 +08:00
README.tiff2dib Added tiff-4.0.2 as the first step in moving from libtiff 3.8.2 to libtiff 4.0.2 2012-09-01 17:59:43 +08:00
Tiffile.cpp Added tiff-4.0.2 as the first step in moving from libtiff 3.8.2 to libtiff 4.0.2 2012-09-01 17:59:43 +08:00
tiff2dib.c Added tiff-4.0.2 as the first step in moving from libtiff 3.8.2 to libtiff 4.0.2 2012-09-01 17:59:43 +08:00

README.tiff2dib

Date: 04 Dec 95 10:34:23 EST
From: Philippe <100423.3705@compuserve.com>
To: TIFF/sam Leffler <sam@cthulhu.engr.sgi.com>
Subject: TIFF library and Windows 95
Message-Id: <951204153422_100423.3705_BHG101-1@CompuServe.COM>

Sam, 

First, let me thanks all of you how have worked 
on that great TIFF library !

Here is some information that may help someone.

I build the library under Windows 95 as a 32-bit library.
The contribution of Scott Wagner (tif_win32.c) worked fine, but 
the makefile "makefile.msc" was unsable because it was
written for DOS or Windows 3.1 and all the files names 
are limited to 8 characters.

Here is the makefile I used : makefile.w95

Also, I had to disable fax3 support because I wasn't able
to build (as it is) the tool "mkg3states" to generate the include
file "g3states.h". 
This source file must be modify to be build under Windows 95.

To build the library under Windows 95 with Visual C++ 2.0, 
I had to :

- undefine CCITT_SUPPORT in "tiffconf.h"

- create the file version.h with this line :
      #define VERSION "3.4beta024"

- build the makefile "makefile.w95"

I also join the source file "tif2dib.c" that I created, 
it contain the function LoadTIFFinDIB that load 
a TIFF file and build a memory DIB with it and return the 
HANDLE (HDIB) of the memory bloc containing this DIB.
Since DIB is the "natural" bitmap format for Windows 3.1, 95 and NT,
this function sould be usefull for some Windows 95 (or NT) developer.


Sorry for my approximate english ...

Regards,

Philippe Tenenhaus   100423.3705@compuserve.com
Paris