You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by vladimir-kotikov <gi...@git.apache.org> on 2014/06/11 10:59:00 UTC

[GitHub] cordova-plugin-camera pull request: CB-6920 "File not found" error...

GitHub user vladimir-kotikov opened a pull request:

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

    CB-6920 "File not found" error when using targetWidth and targetHeight on Windows8 with Camera plugin and FILE_URI

    Issue [CB-6920](https://issues.apache.org/jira/browse/CB-6920)
    
    When using getPicture with targetWidth and targetHeight set and FILE_URI destination no picture data is returned, the error callback is hit with the message "File not found"
    If you remove targetwidth and targetheight, the camera plugin works.
    
    Reason -  incorrect usage of File plugin.

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

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

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

    https://github.com/apache/cordova-plugin-camera/pull/31.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 #31
    
----
commit ffd46c4ef503bee65cfc9ad5e0ca8ff2d3fa3114
Author: Vladimir Kotikov <v-...@microsoft.com>
Date:   2014-06-11T08:49:58Z

    Use WinJS functionality to resize image instead of File plugin functionality

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cordova-plugin-camera pull request: CB-6920 "File not found" error...

Posted by benjamineberle <gi...@git.apache.org>.
Github user benjamineberle commented on the pull request:

    https://github.com/apache/cordova-plugin-camera/pull/31#issuecomment-45987756
  
    Just a heads up for your fix:
    I ran into the same issue and noticed that the current file resizing does not keep the ratio when using targetWidth AND targetHeight at the same time - at least with the target DATA_URL.
    On iOS targetWidth and targetHeight are understood as maxWidith and maxHeight, which is more desired by most users I guess.
    Thanks!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cordova-plugin-camera pull request: CB-6920 "File not found" error...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---