cordova-issues mailing list archives

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

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

Richard B Knoll commented on CB-9169:
-------------------------------------

It definitely is in Android. I checked the file headers and [here|https://github.com/apache/cordova-plugin-camera/blob/f5217bf02b9018f94ea7c3694a1172fd9a5b97ac/src/android/CameraLauncher.java#L494]
is the relevant part of the code. There might be some execution paths that use the wrong compression,
I'll look closer.

> encodingType seem only have JPG file
> ------------------------------------
>
>                 Key: CB-9169
>                 URL: https://issues.apache.org/jira/browse/CB-9169
>             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
> https://github.com/apache/cordova-plugin-camera
> 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
(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