Paint or Composite fill with a saved image

​Is it possible to fill a shape with an image which is loaded from the Documents directory, rather than the Resource directory?

Yes, it should work fine:

local paint = { type = "image", filename = "myimage.jpg", -- or png baseDir = system.DocumentsDirectory }

https://docs.coronalabs.com/daily/api/type/BitmapPaint/index.html

However, you may encounter issues saving and filling from the saved image in the same frame it was saved. i.e. There might be a small period where the file is not saved or available.

Thanks! Can’t believe I couldn’t find that earlier.

Yes, it should work fine:

local paint = { type = "image", filename = "myimage.jpg", -- or png baseDir = system.DocumentsDirectory }

https://docs.coronalabs.com/daily/api/type/BitmapPaint/index.html

However, you may encounter issues saving and filling from the saved image in the same frame it was saved. i.e. There might be a small period where the file is not saved or available.

Thanks! Can’t believe I couldn’t find that earlier.