Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70759

allowEdit in Camera plugin

$
0
0

@sumitdobhal wrote:

I want to upload picture by writing some text on it before saving the image.
There is one option in Camera plugin to edit images i.e. allow edit.But it is not allowing me to edit / annotate image (no option is coming to perform this) when I am taking image in my iOS device (iPad). Is there any other option to do this in ionic.

I am using the following code to take picture.

      '
      let option: CameraOptions = {
      quality: 100,
      targetWidth: 900,
      targetHeight: 600,
      destinationType: this.camera.DestinationType.DATA_URL,
      encodingType: this.camera.EncodingType.JPEG,
      mediaType: this.camera.MediaType.PICTURE,
      saveToPhotoAlbum: false,
      allowEdit: true,
      sourceType: 1
      // saveToPhotoAlbum: false
    }

    this.camera.getPicture(option).then((imageURI) => {

    });
    '

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>