NeuesFenster = _NEWIMAGE(1024, 768, 256)
SCREEN NeuesFenster
Bild = _LOADIMAGE("MaedchenSozial.jpg", 32)
SCREEN Bild
A couple of problems with the above. First, you set NeuesFenster to a 256 color screen. Then you load a 32-bit color image. Then you swap screens, throwing away the 256 color screen....
I would think you’d want more of:
NeuesFenster = _NEWIMAGE(1024, 768, 32) ‘USE A 32-bit screen
SCREEN NeuesFenster
COLOR _RGB32(0,0,0), _RGB32(255, 255, 0)’MUST USE 32-BIT COLOR VALUES
LOCATE (CSRLIN + 2), POS(0)
PRINT "Hallo, QuickBasic 64!"
'Bild laden
Bild = _LOADIMAGE("MaedchenSozial.jpg", 32)
‘SCREEN Bild ‘NO NEED FOR THIS
_PUTIMAGE (0,0), Bild