Resize Screen Background image according to screen size

hello guys

i make a SQUARE image for background of my app and now i want to crop image according to the screen background but if i crop image just by using this block with check on HQ image in advanced properties then it takes time to set image to background every time


i use that block on when screen opens

and if i didnt check on hq images then image is not clear but it imidiately change when screen opens

what is the size /width and height) of the origina image?
you might want to crop the original picture before using it…
just use the maximum height and width you will need to keep the original image as small as possible

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

Image resolution is 1281*1281
And size is 270 kb

this seems to be reasonable…
you might want to try the Scale method from the image extension to find out, if this brings a better performance

Taifun