image handling...

BlitzMax Forums/BlitzMax Programming/image handling...

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I think I'm correct in assuming this returns a DC to the DIB that was created correct? If so, then this

_BitBlt(phdc, 0,0, 5120,3840, imap, 0,0, 13369376)


Should put the image I load and convert onto the current page in the printer assuming that phdc is the dc of the printer.

I can verify that it is, as I used 0 for the last parameter in the bitblt which blacks all pixels in rect that is defined by parameters 2-5. But when I change the last parameter to SRCCOPY (13369376) I get nothing. So I can only assume that either the pixmap wasn't loaded by

pmap = LoadPixmap("C:\picture.bmp")


or it wasn't converted by the above function.

Any ideas?