| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread1999.01.18 20:22 "Re: Opening a tiff image using VC++", by Ulrich Von ZadowYou were almost there :-). paintlib includes a bitmap viewer as a sample program. Use it as base for your own implementation. Oh, and in response to Francois: paintlib won't read complete postscript files, but if you only need the tif previews embedded in some (most?) postscript files, paintlib will decode them for you. Regards, Uli > From: Nick Westwood [SMTP:nick@kabalagogo.ndirect.co.uk] > Sent: Friday, January 16, 1998 9:57 AM > To: TIFF List Server > Subject: Re: Opening a tiff image using VC++ > I'm using VC++ 4 (soon to switch to VC++ 5) and successfully compiled > the library into a static lib and a dll. I found a C++ library on the > net called PaintLib and took their modifications and applied them to > TIFFLIB. Seems to work fine. I've used it to write some tools to append > single tif files into multi-page ones and split them out again. > I need to write a viewer now though and I'm having lots of problems > displaying a tif file under Win95/NT. I've tried to use the tif2dib > contribution supplied with TIFFLIB and though it compiles fine into the > library and seems to return a valid handle to a DIB, I can't get it to > do anything but display a black rectangle. If anyone on the list has had > any success with displaying tif files under Windows I'd love to hear > from them - this is driving me nuts and I'm sure I cant be the only one > who wants to do this. If anyone has any sample code or could give me any > helpful pointers I would be very, very, very grateful. > Regards > Nick Westwood -- Ulrich von Zadow Author of paintlib: http://www.cs.tu-berlin.de/~uzadow/paintlib |
|||||||