cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Schröder (JIRA) <j...@apache.org>
Subject [jira] [Updated] (CB-8118) Camera Plugin : on Ios 8.0.2 image is not cropped after editing it (allowEdit=true)
Date Fri, 05 Dec 2014 09:51:12 GMT

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

Andreas Schröder updated CB-8118:
---------------------------------
    Description: 
Dear Sir or Madame,

we use the allowEdit=true functionality in our getPicture Method.
This works like a charm on Android or IOS 7.1.2.

On IOS 8.0.2 the dialog for selecting the image area is opened, but after clicking OK the
image isnt cropped so the original ratio is still there. 

Is this a known issue? 


This ist our getPictureMethod:
{code}
 navigator.camera.getPicture(
            							app.setTempPic,
                                        function(message) { alert('get picture failed'); },
                                        { 
                                        	targetWidth: 500,
											targetHeight: 500,
											correctOrientation : true,
                                        	quality: 50, 
                                        	allowEdit : true,
                                        	destinationType: navigator.camera.DestinationType.FILE_URI,
                                        	sourceType: navigator.camera.PictureSourceType.PHOTOLIBRARY

                                        }
                                        );
{code}

Thanks in advance and have a nice day

  was:
Dear Sir or Madame,

we use the allowEdit=true functionality in our getPicture Method.
This works like a charm on Android or IOS 7.1.2.

On IOS 8.0.2 the dialog for selecting the image area is opened, but after clicking OK the
image isnt cropped so the original ratio is still there. 

Is this a known issue? 


This ist our getPictureMethod:
 navigator.camera.getPicture(
            							app.setTempPic,
                                        function(message) { alert('get picture failed'); },
                                        { 
                                        	targetWidth: 500,
											targetHeight: 500,
											correctOrientation : true,
                                        	quality: 50, 
                                        	allowEdit : true,
                                        	destinationType: navigator.camera.DestinationType.FILE_URI,
                                        	sourceType: navigator.camera.PictureSourceType.PHOTOLIBRARY

                                        }
                                        );


Thanks in advance and have a nice day


> Camera Plugin : on Ios 8.0.2 image is not cropped after editing it (allowEdit=true)
> -----------------------------------------------------------------------------------
>
>                 Key: CB-8118
>                 URL: https://issues.apache.org/jira/browse/CB-8118
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: Master
>         Environment: cordova 3.6.3
> Camera Plugin 0.3.2
> Using Phonegap Build
>            Reporter: Andreas Schröder
>            Priority: Critical
>              Labels: camera, cordova-plugin-camera
>
> Dear Sir or Madame,
> we use the allowEdit=true functionality in our getPicture Method.
> This works like a charm on Android or IOS 7.1.2.
> On IOS 8.0.2 the dialog for selecting the image area is opened, but after clicking OK
the image isnt cropped so the original ratio is still there. 
> Is this a known issue? 
> This ist our getPictureMethod:
> {code}
>  navigator.camera.getPicture(
>             							app.setTempPic,
>                                         function(message) { alert('get picture failed');
},
>                                         { 
>                                         	targetWidth: 500,
> 											targetHeight: 500,
> 											correctOrientation : true,
>                                         	quality: 50, 
>                                         	allowEdit : true,
>                                         	destinationType: navigator.camera.DestinationType.FILE_URI,
>                                         	sourceType: navigator.camera.PictureSourceType.PHOTOLIBRARY

>                                         }
>                                         );
> {code}
> Thanks in advance and have a nice day



--
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