Debian Codegraph @

contrib/win_dib/README.tiff2dib

raw
1
2 Date: 04 Dec 95 10:34:23 EST
3 From: Philippe <[email protected]>
4 To: TIFF/sam Leffler <[email protected]>
5 Subject: TIFF library and Windows 95
6 Message-Id: <[email protected]>
7
8 Sam,
9
10 First, let me thanks all of you how have worked
11 on that great TIFF library !
12
13 Here is some information that may help someone.
14
15 I build the library under Windows 95 as a 32-bit library.
16 The contribution of Scott Wagner (tif_win32.c) worked fine, but
17 the makefile "makefile.msc" was unusable because it was
18 written for DOS or Windows 3.1 and all the files names
19 are limited to 8 characters.
20
21 Here is the makefile I used : makefile.w95
22
23 Also, I had to disable fax3 support because I wasn't able
24 to build (as it is) the tool "mkg3states" to generate the include
25 file "g3states.h".
26 This source file must be modify to be build under Windows 95.
27
28 To build the library under Windows 95 with Visual C++ 2.0,
29 I 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
38 I also join the source file "tif2dib.c" that I created,
39 it contain the function LoadTIFFinDIB that load
40 a TIFF file and build a memory DIB with it and return the
41 HANDLE (HDIB) of the memory block containing this DIB.
42 Since DIB is the "natural" bitmap format for Windows 3.1, 95 and NT,
43 this function should be useful for some Windows 95 (or NT) developer.
44
45
46 Sorry for my approximate english ...
47
48 Regards,
49
50 Philippe Tenenhaus [email protected]
51 Paris