Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cs.yale.edu!spolsky-joel From: spolsky-joel@cs.yale.edu (Joel Spolsky) Newsgroups: comp.windows.ms.programmer Subject: Re: TIFF images into windows Message-ID: <27479@cs.yale.edu> Date: 29 Nov 90 22:52:41 GMT References: <190677@teemc.UUCP> Sender: news@cs.yale.edu Distribution: na Organization: Yale University Computer Science Dept., New Haven, CT 06520-2158 Lines: 20 Nntp-Posting-Host: zoo-gw.cs.yale.edu Originator: spolsky@suned.CS.Yale.Edu In article <190677@teemc.UUCP> wayne@teemc.UUCP (Michael R. Wayne) writes: > > The (mostly useless) McGraw-Hill Windows Programming book I bought >claims that the SDK lets you import TIFF images. None of the indicies >mention TIFF. Can it be done using one of the tools in the SDK (none >of them seem to look for .TIF files)? Failing that, what is the best >way to import external images? I don't think Windows has any built in functions for reading and writing TIFF files. However there is a detailed description of the TIFF file format in the old SDK (version 2.0). Reading and writing TIFF files is not fun. What kind of external images do you have? In most cases, if you have .BMP, .PCX, or .GIF format files you can convert them to .BMP files (using PaintBrush and gif2bmp, respectively) which the SDK can handle directly. Joel Spolsky spolsky@cs.yale.edu