Can anybody help

BlitzMax Forums/BlitzMax Programming/Can anybody help

VinceA, You're right.
Loading with setmaskcolor 255,0,0 will change all pixels to 0,0,0.
Graphics 800,600
'uncomment to see the affect of setmaskcolor
'SetMaskColor 255,0,0
Local image:timage=LoadImage("red.png")
Local mypixmap:TPixmap=LockImage(image)
For Local x:Int=0 To ImageWidth(image)-1
	For Local y:Int=0 To ImageHeight(image)-1
		Print ReadPixel(mypixmap,x,y)
	Next
Next