You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/10 11:44:48 UTC

[GitHub] [cordova-plugin-camera] ryaa opened a new issue #524: Exif data is lost when getting an image from the photo library (iOS)

ryaa opened a new issue #524: Exif data is lost when getting an image from the photo library (iOS)
URL: https://github.com/apache/cordova-plugin-camera/issues/524
 
 
   # Bug Report
   
   ## Problem
   When opening/adding an image (HEIC or JPEG) from camera roll on iOS and destinationType in camera options is set to DestinationType.FILE_URI the image EXIF data is lost
   
   ### What is expected to happen?
   Exif data must be preserved.
   
   ### What does actually happen?
   Exif data is lost.
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   The problem exists on iOS only. The camera is used with the below options
   ```
   const options: CameraOptions = {
      destinationType: Camera.DestinationType.FILE_URI,
      sourceType: this.camera.PictureSourceType.PHOTOLIBRARY,
      encodingType: this.camera.EncodingType.JPEG,
      correctOrientation: true
   };
   ```
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   N/A
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   ```
   ionic info
   
   Ionic:
   
      Ionic CLI          : 5.2.7 (/Users/alexryltsov/.nvm/versions/node/v10.16.2/lib/node_modules/ionic)
      Ionic Framework    : ionic-angular 3.9.8
      @ionic/app-scripts : 3.2.4
   
   Cordova:
   
      Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
      Cordova Platforms : android 8.0.0, ios 5.0.1
      Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.3, (and 25 other plugins)
   
   Utility:
   
      cordova-res : 0.6.0 (update available: 0.8.1)
      native-run  : 0.2.8 (update available: 0.2.9)
   
   System:
   
      Android SDK Tools : 26.1.1 (/Users/alexryltsov/Library/Android/sdk/)
      ios-sim           : 8.0.1
      NodeJS            : v10.16.2 (/Users/alexryltsov/.nvm/versions/node/v10.16.2/bin/node)
      npm               : 6.9.0
      OS                : macOS Catalina
      Xcode             : Xcode 11.2 Build version 11B52
   ```
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   cordova-plugin-camera 4.1.0
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org