|
[BUG]
api.getPicture录像后再使用FNPhotograph拍照,像素很低
[复制链接]
复现步骤:
步骤1、先使用api.getPicture模块打开录像功能2~3次(videoQuality缺省,可以不开始录像)
步骤2、再调用FNPhotograph.openCameraView
问题:
发现FNPhotograph.openCameraView拍照视图像素很低,使用FNPhotograph.takePhoto拍照后像素也很低
录像代码:
api.getPicture({
sourceType : 'camera',
mediaValue : 'video',
destinationType : 'url',
saveToPhotoAlbum : true,
}, function(ret, err) {
...
});
拍照代码:
FNPhotograph.openCameraView({
rect : {
x : 0,
y : 0
},
orientation : 'portrait',
fixedOn : api.frameName,
fixed : true
}, function(ret) {
api.actionSheet({
title : '',
buttons : ['拍照', '图库']
}, function(ret, err) {
if (ret.buttonIndex == 1) {
FNPhotograph.takePhoto({
path : api.cacheDir + "/cache/" + newGuid() + '.png',
quality : 'low',
album : true
}, function(ret) {
...
});
问题分析:
感觉好像是录像时把像素设置低了,然后再拍照像素还是低的,没有复位。
请官方支持!
|
|