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

Paul Cham commented on CB-11046:
--------------------------------

I'm encountering the same problem, but this time using iOS. 

This are my camera options:

var options = {
  quality: 100,
  destinationType: Camera.DestinationType.DATA_URL,
  sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
  allowEdit: true,
  encodingType: Camera.EncodingType.PNG,
  targetWidth: 128,
  targetHeight: 128,
  popoverOptions: CameraPopoverOptions,
  saveToPhotoAlbum: false
};

http://stackoverflow.com/questions/38711763/cordovacamera-adds-black-background-to-transparent-png

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to