~ubuntu-branches/ubuntu/karmic/tiff/karmic-security

« back to all changes in this revision

Viewing changes to contrib/win_dib/README.tiff2dib

  • Committer: Bazaar Package Importer
  • Author(s): Fabio M. Di Nitto
  • Date: 2004-10-14 07:57:59 UTC
  • Revision ID: james.westby@ubuntu.com-20041014075759-a77e7zuaetya8cp0
Tags: upstream-3.6.1
ImportĀ upstreamĀ versionĀ 3.6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
Date: 04 Dec 95 10:34:23 EST
 
3
From: Philippe <100423.3705@compuserve.com>
 
4
To: TIFF/sam Leffler <sam@cthulhu.engr.sgi.com>
 
5
Subject: TIFF library and Windows 95
 
6
Message-Id: <951204153422_100423.3705_BHG101-1@CompuServe.COM>
 
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 unsable 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 bloc containing this DIB.
 
42
Since DIB is the "natural" bitmap format for Windows 3.1, 95 and NT,
 
43
this function sould be usefull for some Windows 95 (or NT) developer.
 
44
 
 
45
 
 
46
Sorry for my approximate english ...
 
47
 
 
48
Regards,
 
49
 
 
50
Philippe Tenenhaus   100423.3705@compuserve.com
 
51
Paris