Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9169

encodingType seem only have JPG file

    XMLWordPrintableJSON

Details

    Description

      according to this
      https://github.com/apache/cordova-plugin-camera

      I am using

      { destinationType : Camera.DestinationType.FILE_URL,
        sourceType : Camera.PictureSourceType.CAMERA,
        encodingType: Camera.EncodingType.JPEG,
        targetWidth: 100,
        targetHeight: 100,
        saveToPhotoAlbum: TRUE }
      

      no mater which the encodingType's value is "Camera.EncodingType.JPEG" OR "Camera.EncodingType.PNG"
      finally the output file is xxx.jpg

      Android iOS WP8 all have this situation

      Attachments

        Activity

          People

            purplecabbage Jesse MacFadyen
            bau720123 Colin Bau
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: