Your question gave me the clue to the solution. The picture is 1440x1600. It is not drawn in b4a itself, but in java. I have a surfaceview connected to a b4a panel (very much like the camera library).
I did draw it like this:
mCanvas.drawBitmap(_bg, 0,0, null);
were I wrongly assumed it would take 480x800 pixels from the picture and put it on the canvas.
However now I do it like this:
Rect src=new Rect(0, 0, 480, 800);
Rect dst=new Rect(0, 0, 480, 800);
mCanvas.drawBitmap(_bg, src, dst, null);
And the size of the picture is correct.