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

Display the picture taken by Camera Preview Plugin

$
0
0

@jumice wrote:

Hi, now I am making an ionic app using Cordova Camera Preview Plugin.

what I want to do is

  1. take a picture with camera preview
  2. display the picture on the screen once it is taken with 'Full Screen"
  3. send this picture to a server

now, my codes are

takePhoto(){

    const options : CameraPreviewPictureOptions = {
        quality: 80
      }

      this.cameraPreview.takePicture(options).then((base64PictureData) => {
          console.log(base64PictureData)

        this.photoService.uploadPhoto(base64PictureData);
      })
    }

in this codes, I can’t display the picture taken.
Please let me know how to display the picture.

thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



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