]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/tiff/contrib/win_dib/README.tiff2dib
Correct Mac OX/iPhone check in libpng.
[wxWidgets.git] / src / tiff / contrib / win_dib / README.tiff2dib
... / ...
CommitLineData
1
2Date: 04 Dec 95 10:34:23 EST
3From: Philippe <100423.3705@compuserve.com>
4To: TIFF/sam Leffler <sam@cthulhu.engr.sgi.com>
5Subject: TIFF library and Windows 95
6Message-Id: <951204153422_100423.3705_BHG101-1@CompuServe.COM>
7
8Sam,
9
10First, let me thanks all of you how have worked
11on that great TIFF library !
12
13Here is some information that may help someone.
14
15I build the library under Windows 95 as a 32-bit library.
16The contribution of Scott Wagner (tif_win32.c) worked fine, but
17the makefile "makefile.msc" was unsable because it was
18written for DOS or Windows 3.1 and all the files names
19are limited to 8 characters.
20
21Here is the makefile I used : makefile.w95
22
23Also, I had to disable fax3 support because I wasn't able
24to build (as it is) the tool "mkg3states" to generate the include
25file "g3states.h".
26This source file must be modify to be build under Windows 95.
27
28To build the library under Windows 95 with Visual C++ 2.0,
29I had to :
30
31- undefine CCITT_SUPPORT in "tiffconf.h"
32
33- create the file version.h with this line :
34 #define VERSION "3.4beta024"
35
36- build the makefile "makefile.w95"
37
38I also join the source file "tif2dib.c" that I created,
39it contain the function LoadTIFFinDIB that load
40a TIFF file and build a memory DIB with it and return the
41HANDLE (HDIB) of the memory bloc containing this DIB.
42Since DIB is the "natural" bitmap format for Windows 3.1, 95 and NT,
43this function sould be usefull for some Windows 95 (or NT) developer.
44
45
46Sorry for my approximate english ...
47
48Regards,
49
50Philippe Tenenhaus 100423.3705@compuserve.com
51Paris