I'm not too good a drawing/image stuff and I can't see the problem here so I don't know if it is some sort of bug or not.
In the attached zip file are two nominally identical bmp files made in Paint Shop Pro XI and a screen shot showing that when I display them with this code
Garden2.bmp is drawn 2.5 times as small as it should be. Changing the order of drawing and their locations makes no difference. Other apps like ACDSee, Paint, Windows Gallery etc. display them the same size as each other.
Does anyone know what's happening here?
In the attached zip file are two nominally identical bmp files made in Paint Shop Pro XI and a screen shot showing that when I display them with this code
B4X:
Sub Globals
'Declare the global variables here.
BmpFile1 = AppPath & "\Garden.bmp"
BmpFile2 = AppPath & "\Garden2.bmp"
End Sub
Sub App_Start
Form1.Show
Form1.DrawImage(bmpfile1,0,0)
Form1.DrawImage(bmpfile2,100,100)
End Sub
Does anyone know what's happening here?