[
https://issues.apache.org/jira/browse/CB-5479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15014755#comment-15014755
]
Richard B Knoll commented on CB-5479:
-------------------------------------
Alright, after looking into this I believe that [~luofan189] is correct. iOS
saves the image to the photo album after it has been resized according to
{{targetWidth}} and {{targetHeight}}. The {{quality}} parameter does not affect
the image that is saved on any of the platforms (Android, iOS, and Windows I
think), which is what I was originally testing for. The ideal behavior should
be that the unaltered image (including the original size) is saved. Since
aspect ratio is being maintained anyway, changing the dimensions really just
reduces the quality. If {{allowEdit}} is given, then the full quality cropped
image should be saved. I think that {{targetHeight}} and {{targetWidth}} might
affect the image that is saved in Android if {{allowEdit}} is set to true
because of how the native crop outputs images, so that needs investigation as
well. I am reopening this issue.
> Save original image to photoalbum when the image is taken from the Camera
> -------------------------------------------------------------------------
>
> Key: CB-5479
> URL: https://issues.apache.org/jira/browse/CB-5479
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Plugin Camera
> Affects Versions: 3.1.0
> Reporter: Stephan Wezel
> Assignee: Richard B Knoll
> Priority: Minor
> Labels: Android, iOS, triaged
> Attachments: camera_plugin_save_original_image_to_photoalbum.patch
>
>
> Currently when the option saveToPhotoAlbum is active the modified image
> (scaled, reduced image) is saved to the PhotoAlbum.
> At least when the image is taken from the Camera then the original image
> should be saved instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]