Dear corona community,
I have a mask png that is 400px wide and high. When I use this mask and add it to an image:
image:setMask(mask)
image.maskScaleX = imageSize / 400
image.maskScaleY = imageSize / 400
it perfectly masks the image in the desired size (imageSize) on my simulator. imageSize is calculated as follows:
imageSize = display.actualContentHeight/2 - 45 - 10
But when I use it on my smartphone, the mask is way smaller and shows a smaller part of the image than on the simulator.
Any ideas where to look at?
Thanks