images appear wrong size

there are two images like this:

they are the same graphic in the different size (the large one with some empty area

then I try this:

----------------------------------------------------------  
function main()  
  
 local bg\_img = display.newImage("bg.png")  
 local bg\_cloud1\_img=display.newImage("res\_bg\_cloud1.png")  
 local bg\_cloud2\_img=display.newImage("res\_bg\_cloud2.png")  
 bg\_cloud2\_img.y=300  
  
end  
  
main()  
--------------------------------------------------------  

the result is:

the res_bg_cloud2.png (the smaller image) was appeared like double size ?

you can download the test file here: Download [import]uid: 5376 topic_id: 695 reply_id: 300695[/import]

if I try it on iPhone, the “res_bg_cloud2.png” will appear a black rectangle [import]uid: 5376 topic_id: 695 reply_id: 1384[/import]

Maso

The link does not work. Can you update the link so we can download the file or email it to us at support@anscamobile.com

thanks

carlos [import]uid: 24 topic_id: 695 reply_id: 1390[/import]

http://dl.dropbox.com/u/357446/test2.zip

[import]uid: 5376 topic_id: 695 reply_id: 1393[/import]

Hi Carlos,

Did you got the file?

Maso [import]uid: 5376 topic_id: 695 reply_id: 1411[/import]

Hi Maso, there is currently a bug in the code when your image sizes are larger than the screen dimensions; we are being inconsistent about auto-scaling your image down to screen size. Until it’s fixed (probably next update), make your image sizes so they fit inside a 320x480 screen.

walter
[import]uid: 26 topic_id: 695 reply_id: 1421[/import]

Hi Walter,

this bug is a problem for one of my apps, too. Do you know when the next update will be released?

Best,
Patrick. [import]uid: 4589 topic_id: 695 reply_id: 1456[/import]

(Filed as bug #112) [import]uid: 3007 topic_id: 695 reply_id: 1978[/import]