1998.10.26 00:00 "PRB W95 VC MFC: printing TIFFs using StretchBlt or StretchDIBits.", by Daniel Luna

1998.10.26 00:00 "PRB W95 VC MFC: printing TIFFs using StretchBlt or StretchDIBits.", by Daniel Luna

Hi there:

I'm in use of Libtiff with Visual C++ 4.0 (with MFC) in WIN95.

I read scanlines from TIFF and then show them using StretchBlt or StretchDIBits depending on device capabilities.

I show scaled images correctly on display and printers, but in some printers like HP LaserJet 6P/6MP or Epson Stylus 1500, i get errors on printing.

"Points from my image look compressed and deformed in some situations i cannot determine".

StretchDIBits returns -1. When I use GetLastError, i get an error code 6.

what's my problem? How can I avoid this effect?

Thanks in advance.

DLR.


Editor's note: This mail was not originally archived, and has been reconstructed from quotes.