cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard B Knoll (JIRA)" <>
Subject [jira] [Commented] (CB-9169) encodingType seem only have JPG file
Date Mon, 09 Nov 2015 18:56:11 GMT


Richard B Knoll commented on CB-9169:

Yeah, I don't see any clear use case either. If the API exists, though, I would rather have
it work as expected than add another quirk. I think this is an easy enough fix, so I'll try
and submit a PR in the next day or so. The gallery is another bit of weird behavior; it looks
like we do the same thing as before and change the encoding type if the image is edited. That
seems sort of wrong to me, should we be converting the file types of gallery photos or only
allowing the selection of the specified file type?

> encodingType seem only have JPG file
> ------------------------------------
>                 Key: CB-9169
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin Camera, WP8
>    Affects Versions: 5.0.1
>         Environment: I am using Cordova Cli 5.0 with all latest core plugin
> iOS
>            Reporter: Colin Bau
>            Assignee: Jesse MacFadyen
>              Labels: Triaged, camera
> according to this
> I am using
> {code:javascript}
> { destinationType : Camera.DestinationType.FILE_URL,
>   sourceType : Camera.PictureSourceType.CAMERA,
>   encodingType: Camera.EncodingType.JPEG,
>   targetWidth: 100,
>   targetHeight: 100,
>   saveToPhotoAlbum: TRUE }
> {code}
> no mater which the encodingType's value is "Camera.EncodingType.JPEG" OR "Camera.EncodingType.PNG"
> finally the output file is xxx.jpg
> Android iOS WP8 all have this situation

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message