[ 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org