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