cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghav (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-8050) Photo quality is very low when target width and height is above 640px
Date Thu, 19 Nov 2015 21:44:11 GMT

     [ https://issues.apache.org/jira/browse/CB-8050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Raghav updated CB-8050:
-----------------------
    Priority: Minor  (was: Major)

> Photo quality is very low when target width and height is above 640px 
> ----------------------------------------------------------------------
>
>                 Key: CB-8050
>                 URL: https://issues.apache.org/jira/browse/CB-8050
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 3.5.0
>         Environment: iOS Cordova 3.5 iPhone 5
>            Reporter: Michael M
>            Priority: Minor
>              Labels: iOS
>
> I use Cordova 3.5.0 and the latests version of the Camera plugin. I figured out that
the image quality drops when I set the targetWidth and targetHeight above 640. Here is the
configuration I use:
> {code:javascript}
> navigator.camera.getPicture(onSuccess, onFail, 
>   { quality : 100,
>   destinationType : Camera.DestinationType.FILE_URI,
>   sourceType : Camera.PictureSourceType.CAMERA,
>   allowEdit : true,
>   encodingType: Camera.EncodingType.JPEG,
>   targetWidth: 640,
>   targetHeight: 640,
>   saveToPhotoAlbum: true 
> });
> {code}
> I did several tests capturing photos with the phonegap camera and compared the images
that were automatically saved to album.
> How can I make PhoneGap Camera images with target width and height bigger than 640px
of high quality?
> I posted my sample results on stackoverflow: 
> http://stackoverflow.com/questions/27043534/how-can-i-make-phonegap-camera-images-with-target-width-and-height-bigger-than-6



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message