cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Marques Lourenço (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CB-11046) getPicture() from PHOTOLIBRARY returns png with black background instead of transparency
Date Fri, 08 Apr 2016 22:34:25 GMT

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

Rafael Marques Lourenço commented on CB-11046:
----------------------------------------------

Because it's the way can get the image directly in the Web view (e.g. As an img src value).
If I used the FILE_URI I couldn't use it like that. But even so, I think that is a relevant
issue: the DATA_URL should return the original file, not a edited one (with added background)


> getPicture() from PHOTOLIBRARY returns png with black background instead of transparency
> ----------------------------------------------------------------------------------------
>
>                 Key: CB-11046
>                 URL: https://issues.apache.org/jira/browse/CB-11046
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>            Reporter: Rafael Marques Lourenço
>              Labels: Android, triaged, wfc
>
> When using cordova-plugin-camera to get an PNG image from the photolibrary, it returns
the image but instead of keeping it's orginal transparency, it puts a black background. It
should keep the images as is.
> options to getPicture():
> { sourceType: Camera.PictureSourceType.PHOTOLIBRARY, destinationType: Camera.DestinationType.DATA_URL
}



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