[jira] [Commented] (CB-6612) Camera.DestinationType.DATA_URL does not work with WP8 with org.apache.cordova.camera@0.2.9 unless targetWidth and targetHeight are explicitly set

2014-05-01 Thread Vladimir Kotikov (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13987437#comment-13987437
 ] 

Vladimir Kotikov commented on CB-6612:
--

Problem is when width/height is set, getPicture returns a BASE64 encoded data 
of JPEG image and you can use JS code like
{noformat}
image.setAttribute('src', 'data:image/jpeg;base64,' + imageData)
{noformat}
but when width/height is not provided to getPicture, it returns encoded raw 
bitmap, and previous code fails.

> Camera.DestinationType.DATA_URL does not work with WP8 with 
> org.apache.cordova.camera@0.2.9 unless targetWidth and targetHeight are 
> explicitly set
> --
>
> Key: CB-6612
> URL: https://issues.apache.org/jira/browse/CB-6612
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, WP8
>Affects Versions: 2.9.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>
> Reproduction steps:
> 1. create a new cordova app
> 2. add the camera plugin, version 0.2.9 (latest)
> 3. add the wp8 platform
> 4. use getPicture with DATA_URL option and no width/height set
> Result:
> No valid imageData is returned in the success callback.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6612) Camera.DestinationType.DATA_URL does not work with WP8 with org.apache.cordova.camera@0.2.9 unless targetWidth and targetHeight are explicitly set

2014-05-04 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989288#comment-13989288
 ] 

ASF GitHub Bot commented on CB-6612:


GitHub user vladimir-kotikov opened a pull request:

https://github.com/apache/cordova-plugin-camera/pull/26

CB-6612 Camera.DestinationType.DATA_URL does not work with WP8 with 
org.apache.cordova.camera@0.2.9 unless targetWidth and targetHeight are 
explicitly set



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/MSOpenTech/cordova-plugin-camera CB-6612

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-camera/pull/26.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #26


commit 9e0d9439714b54540685f7daa23f713ca17d28f6
Author: Vladimir Kotikov 
Date:   2014-05-02T06:51:32Z

CB-6612 camera.getPicture now always returns encoded JPEG image




> Camera.DestinationType.DATA_URL does not work with WP8 with 
> org.apache.cordova.camera@0.2.9 unless targetWidth and targetHeight are 
> explicitly set
> --
>
> Key: CB-6612
> URL: https://issues.apache.org/jira/browse/CB-6612
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, WP8
>Affects Versions: 2.9.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>
> Reproduction steps:
> 1. create a new cordova app
> 2. add the camera plugin, version 0.2.9 (latest)
> 3. add the wp8 platform
> 4. use getPicture with DATA_URL option and no width/height set
> Result:
> No valid imageData is returned in the success callback.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6612) Camera.DestinationType.DATA_URL does not work with WP8 with org.apache.cordova.camera@0.2.9 unless targetWidth and targetHeight are explicitly set

2014-05-10 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13993193#comment-13993193
 ] 

ASF subversion and git services commented on CB-6612:
-

Commit 10e5455356ef658789b1a238bc14f5b38414a18d in cordova-plugin-camera's 
branch refs/heads/master from [~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-camera.git;h=10e5455 
]

Merge branch 'CB-6612' of https://github.com/MSOpenTech/cordova-plugin-camera


> Camera.DestinationType.DATA_URL does not work with WP8 with 
> org.apache.cordova.camera@0.2.9 unless targetWidth and targetHeight are 
> explicitly set
> --
>
> Key: CB-6612
> URL: https://issues.apache.org/jira/browse/CB-6612
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, WP8
>Affects Versions: 2.9.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>
> Reproduction steps:
> 1. create a new cordova app
> 2. add the camera plugin, version 0.2.9 (latest)
> 3. add the wp8 platform
> 4. use getPicture with DATA_URL option and no width/height set
> Result:
> No valid imageData is returned in the success callback.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6612) Camera.DestinationType.DATA_URL does not work with WP8 with org.apache.cordova.camera@0.2.9 unless targetWidth and targetHeight are explicitly set

2014-05-10 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13993192#comment-13993192
 ] 

ASF subversion and git services commented on CB-6612:
-

Commit 9e0d9439714b54540685f7daa23f713ca17d28f6 in cordova-plugin-camera's 
branch refs/heads/master from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-camera.git;h=9e0d943 
]

CB-6612 camera.getPicture now always returns encoded JPEG image


> Camera.DestinationType.DATA_URL does not work with WP8 with 
> org.apache.cordova.camera@0.2.9 unless targetWidth and targetHeight are 
> explicitly set
> --
>
> Key: CB-6612
> URL: https://issues.apache.org/jira/browse/CB-6612
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, WP8
>Affects Versions: 2.9.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>
> Reproduction steps:
> 1. create a new cordova app
> 2. add the camera plugin, version 0.2.9 (latest)
> 3. add the wp8 platform
> 4. use getPicture with DATA_URL option and no width/height set
> Result:
> No valid imageData is returned in the success callback.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6612) Camera.DestinationType.DATA_URL does not work with WP8 with org.apache.cordova.camera@0.2.9 unless targetWidth and targetHeight are explicitly set

2014-05-12 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13993240#comment-13993240
 ] 

ASF GitHub Bot commented on CB-6612:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-camera/pull/26


> Camera.DestinationType.DATA_URL does not work with WP8 with 
> org.apache.cordova.camera@0.2.9 unless targetWidth and targetHeight are 
> explicitly set
> --
>
> Key: CB-6612
> URL: https://issues.apache.org/jira/browse/CB-6612
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera, WP8
>Affects Versions: 2.9.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>
> Reproduction steps:
> 1. create a new cordova app
> 2. add the camera plugin, version 0.2.9 (latest)
> 3. add the wp8 platform
> 4. use getPicture with DATA_URL option and no width/height set
> Result:
> No valid imageData is returned in the success callback.



--
This message was sent by Atlassian JIRA
(v6.2#6252)