Romowski
Romowski

Reputation: 1548

Corona SDK: Is it posible to work with image and save changes?

Is it possible to work with an image in Corona SDK and then save to file?

Namely:

  1. Open an image file
  2. Create polygon on the image and fill with color
  3. Save all as new image file

Upvotes: 0

Views: 81

Answers (1)

Romowski
Romowski

Reputation: 1548

The solution is display.save()

Create a display group with the image and the polygon and then save it.

Upvotes: 1

Related Questions