pic = _LOADIMAGE(“mybmpfile.bmp”)
_SOURCE pic
ImageHeight = _HEIGHT - 1
ImageWidth = _WIDTH - 1
OPEN “mybmpdata.txt” FOR OUTPUT AS #1
FOR y = 0 to ImageHeight
FOR x = 0 to ImageWidth
kolor = POINT(x,y)
PRINT #1, kolor
NEXT
NEXT
You now have all the x/y color values in a text file which you can now read with INPUT and PSET for use in QB45 programs.