Image overlay on camera

Hello -

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?

Thanks!

1 Like

Ever figure this out? I’m looking to do the same

1 Like

Did you figure this out?

If I understand the question correct this would be possible by doing these steps below…

  1. Find out the url to the picture on your phone
  2. Use the file url and import it into a canvas with Fabric.js
  3. Import the other image/object with Fabric.js
  4. Position the elements according to your wish and then export the canvas into your desired file format