Blame contrib/win_dib/README.tiff2dib

Packit 7838c8
Packit 7838c8
Date: 04 Dec 95 10:34:23 EST
Packit 7838c8
From: Philippe <100423.3705@compuserve.com>
Packit 7838c8
To: TIFF/sam Leffler <sam@cthulhu.engr.sgi.com>
Packit 7838c8
Subject: TIFF library and Windows 95
Packit 7838c8
Message-Id: <951204153422_100423.3705_BHG101-1@CompuServe.COM>
Packit 7838c8
Packit 7838c8
Sam, 
Packit 7838c8
Packit 7838c8
First, let me thanks all of you how have worked 
Packit 7838c8
on that great TIFF library !
Packit 7838c8
Packit 7838c8
Here is some information that may help someone.
Packit 7838c8
Packit 7838c8
I build the library under Windows 95 as a 32-bit library.
Packit 7838c8
The contribution of Scott Wagner (tif_win32.c) worked fine, but 
Packit 7838c8
the makefile "makefile.msc" was unsable because it was
Packit 7838c8
written for DOS or Windows 3.1 and all the files names 
Packit 7838c8
are limited to 8 characters.
Packit 7838c8
Packit 7838c8
Here is the makefile I used : makefile.w95
Packit 7838c8
Packit 7838c8
Also, I had to disable fax3 support because I wasn't able
Packit 7838c8
to build (as it is) the tool "mkg3states" to generate the include
Packit 7838c8
file "g3states.h". 
Packit 7838c8
This source file must be modify to be build under Windows 95.
Packit 7838c8
Packit 7838c8
To build the library under Windows 95 with Visual C++ 2.0, 
Packit 7838c8
I had to :
Packit 7838c8
Packit 7838c8
- undefine CCITT_SUPPORT in "tiffconf.h"
Packit 7838c8
Packit 7838c8
- create the file version.h with this line :
Packit 7838c8
      #define VERSION "3.4beta024"
Packit 7838c8
Packit 7838c8
- build the makefile "makefile.w95"
Packit 7838c8
Packit 7838c8
I also join the source file "tif2dib.c" that I created, 
Packit 7838c8
it contain the function LoadTIFFinDIB that load 
Packit 7838c8
a TIFF file and build a memory DIB with it and return the 
Packit 7838c8
HANDLE (HDIB) of the memory bloc containing this DIB.
Packit 7838c8
Since DIB is the "natural" bitmap format for Windows 3.1, 95 and NT,
Packit 7838c8
this function sould be usefull for some Windows 95 (or NT) developer.
Packit 7838c8
Packit 7838c8
Packit 7838c8
Sorry for my approximate english ...
Packit 7838c8
Packit 7838c8
Regards,
Packit 7838c8
Packit 7838c8
Philippe Tenenhaus   100423.3705@compuserve.com
Packit 7838c8
Paris