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

Stephan Wezel updated CB-4320:
------------------------------

    Attachment: config.xml

config.xml of the coedova project
                
> IOS: Why does getPicture, with jpeg format, from Camera needs Location 
> Services be enabled?
> -------------------------------------------------------------------------------------------
>
>                 Key: CB-4320
>                 URL: https://issues.apache.org/jira/browse/CB-4320
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 2.9.0
>            Reporter: Stephan Wezel
>            Assignee: Steve Gill
>            Priority: Critical
>             Fix For: 2.7.0
>
>         Attachments: config.xml
>
>
> With cordova 2.8 and 2.9 the Location Services must be enabled when a picture 
> (Image format JPEG)from the camera should be received.
> If the Location Services isn't enabled navigator.camera.getPicture doesn't 
> call either the success callback nor the error callback.
> In Cordova 2.7 the Location Services weren't needed to be active.
> I could change the image format to PNG but it creates way bigger image 
> files(8.5 MB instead of 1.2 MB on JPEG) and generates following error: 
> "<Error>: ImageIO: PNG invalid PNG file: iDOT doesn't point to valid IDAT 
> chunk"
> It shouldn't break getting a picture from camera when the location services 
> are disabled.
> i call getPicture with following options:
> quality: 49,
> encodingType: Camera.EncodingType.JPEG,
> destinationType: Camera.DestinationType.FILE_URI,
> correctOrientation: true,
> sourceType: Camera.PictureSourceType.CAMERA

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to