README.tiff2dib 1.5 KB

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