var cmr = plus.camera.getCamera();
var res = cmr.supportedImageResolutions[0];
var fmt = cmr.supportedImageFormats[0];
console.log("Resolution: "+res+", Format: "+fmt);
cmr.captureImage( function( path ){
alert( "Capture image success: " + path );
},
function( error ) {
alert( "Capture image failed: " + error.message );
},
{resolution:res,format:fmt}
);
resolution参数设置后,图片依然很大,请教一下各位是怎么解决的,多谢!
漫步雨林 (作者)
视频呢?也没法压缩么?
2016-07-28 12:13
赵梦欢
回复 漫步雨林:暂时没有
2016-07-28 12:14
漫步雨林 (作者)
回复 赵梦欢:好多,多谢
2016-07-28 12:20