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-13316) Update documentation regarding browser quirks
Date Wed, 03 Oct 2018 17:20:00 GMT

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

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

janpio closed pull request #287: CB-13316: (browser) Updated readme browser quirks
URL: https://github.com/apache/cordova-plugin-camera/pull/287
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Update documentation regarding browser quirks
> ---------------------------------------------
>
>                 Key: CB-13316
>                 URL: https://issues.apache.org/jira/browse/CB-13316
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-camera
>    Affects Versions: Master, 2.4.1
>         Environment: CLI 6.5.0@browser 4.1.0
> Using [cordova-simulate|https://github.com/Microsoft/cordova-simulate] in Chrome
>            Reporter: Andres Zsogon
>            Priority: Major
>              Labels: browser, readme
>
> According to the README, the only *Browser Quirk* is:
> {quote}Can only return photos as Base64-encoded image.{quote}
> However this is not the case from my testing. Instead, I get this result:
> {noformat}
> blob:http://localhost:8000/259e6e9e-bb2f-47d0-939d-51461bd7d47c
> {noformat}
> Also, the image is not resized, it's returned in its natural size.
> This is the {{options}} object used:
> {code:javascript}
> var options = {
>   quality: 100,
>   destinationType: Camera.DestinationType.FILE_URI,
>   sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM,
>   encodingType: Camera.EncodingType.JPEG,
>   mediaType: Camera.MediaType.PICTURE,
>   allowEdit: true,
>   correctOrientation: true,
>   targetHeight: 240,
>   targetWidth: 240
> }
> {code}
> Using {{Camera.DestinationType.DATA_URI}} does return a base64 encoded image but it *does
not resize it* either, it returns in its original size.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message