cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From riknoll <...@git.apache.org>
Subject [GitHub] cordova-plugin-camera pull request: [CB-10093][CB-9960][android] f...
Date Thu, 03 Dec 2015 18:47:46 GMT
Github user riknoll commented on the pull request:

    https://github.com/apache/cordova-plugin-camera/pull/143#issuecomment-161744445
  
    @purplecabbage @sencenan I agree that getting the file path out of a content URI is becoming
too convoluted to be sustainable. Getting the InputStream from the ContentResolver comes with
it's own awkwardness as well, however, due to Android's [ExifInterface class](http://developer.android.com/reference/android/media/ExifInterface.html).
We use that class to extract the EXIF data and preserve it as we modify the image (for quality,
orientation, etc.). Unfortunately, it does not take in an InputSteam and so we would have
to find/code a new EXIF reader or do something weird with writing the image twice (copy image
to temp location -> read EXIF from temp image -> overwrite temp image with modified
image -> return temp image URI). Thoughts?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message