I am new to Ionic and am trying to find a way to choose an image from a gallery then open the camera and position/resize the image in the live camera view then take a picture with the image overlay over the photo. Is there an existing function for this within Ionic? Plugin? Canvas?
Ever figure this out? I’m looking to do the same
If I understand the question correct this would be possible by doing these steps below…
- Find out the url to the picture on your phone
- Use the file url and import it into a canvas with Fabric.js
- Import the other image/object with Fabric.js
- Position the elements according to your wish and then export the canvas into your desired file format