Delphi Programming question
Posted on 1997-07-09
OK heres the problem. Once upon a time I was using the
StretchDraw Method to copy a bitmap from a TImage to the
Printer Canvas. The image would print only sometimes.
So I used a DIB to fix the problem, and used the following
CBRDIB := TDIB.Create; (I have a 3rd party DIB dcu)
InfoHd.bmiHeader := CBRDIB.Header^;
I have also tried DIB_RGB_COLORS aswell in the StretchDIBits
procedure. Problem being on SOME systems the bitmap will
print either completly grey or black. On ours both ways
works perfect. Is the palette the problem, or maybe the
3rd party dcu (or something else entirely)?
Any help would be greatly appreciated.