Retina image not working

Hi,

I using a retina image @2x on iPhone XR with:

let container = w.addStack();
container.size = new Size(360,188);
container.addImage(img);

the image size is 720, 376.
here’s the link: https://github.com/galenzhao/bmw-scriptable-widgets/raw/main/staticmap.png
shown perfectly in develop preview.

but shows blurry after being added to the home screen.

how can I troubleshoot the problem?

thanks.

got the answer: