So my app downloads a resource that generated on the server. I’d like to be able to mask it, but it’s resolution could change.
How would I open a mask.png file from the documents folder?
Like this?
-- Create mask and apply to image
local mask = graphics.newMask( "Documents/circlemask.png" )
image:setMask( mask )
I can’t seem to get it to work.
[import]uid: 13784 topic_id: 23274 reply_id: 323274[/import]
[import]uid: 13784 topic_id: 23274 reply_id: 93312[/import]