display.newImage automatically scaled

I’m experiencing an issue: I’m displaying an image sized 800x867. When the simulator is device an S3, it’s width and height is correct, but when using an iPhone, it’s width and height [not contentWidth and contentHeight] is reduced to 472x384

Any idea?

I’ve solved it using a “newImageRect” instead of “newImage”, but that doesn’t mean it’s ok…

Hi @gerard93,

The content area (and whatever is in it) is always “scaled” according to your project configuration setup. The purpose of “newImageRect” is so that the proper resolution image versions are automatically used when the device resolution warrants it, so the app looks crisp and non-artifacted.

Best regards,

Brent

I’ve solved it using a “newImageRect” instead of “newImage”, but that doesn’t mean it’s ok…

Hi @gerard93,

The content area (and whatever is in it) is always “scaled” according to your project configuration setup. The purpose of “newImageRect” is so that the proper resolution image versions are automatically used when the device resolution warrants it, so the app looks crisp and non-artifacted.

Best regards,

Brent