cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6920) "File not found" error when using targetWidth and targetHeight on Windows8 with Camera plugin and FILE_URI
Date Fri, 13 Jun 2014 08:34:03 GMT

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

ASF GitHub Bot commented on CB-6920:
------------------------------------

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!


> "File not found" error when using targetWidth and targetHeight on Windows8 with Camera
plugin and FILE_URI
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CB-6920
>                 URL: https://issues.apache.org/jira/browse/CB-6920
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>         Environment: Windows 8, Camera plugin 0.3.0
>            Reporter: Vladimir Kotikov
>              Labels: camera, windows8
>
> This is very similar to CB-6613, but this repros when the destination_type is file_uri.
> I have repro'd this with the 0.3.0 version of the camera plugin.
> Repro:
> 1. create a new cordova app
> 2. add the camera plugin, version 0.3.0 (tagged in Git)
> 3. add the window8 platform
> 4. use getPicture with targetWidth and targetHeight set and FILE_URI destination
> Result:
> 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.
> Expected:
> camera plugin should work with targetWidth and targetHeight set for FILE_URI destination



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

Mime
View raw message