[
https://issues.apache.org/jira/browse/CB-8050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah updated CB-8050:
---------------------------------
Description:
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
was:
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:
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
});
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
> 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: Cordova 3.5 iPhone 5
> Reporter: Michael M
> Priority: Critical
>
> 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: [email protected]
For additional commands, e-mail: [email protected]