|
小米4,拍出都是720*480,没法再大了。拍照时成像就不清楚的,不管怎么设置quality都一个样。望核实!
二维码
样张
=========================================
<script type="text/javascript">
var FNPhotograph;
apiready = function() {
FNPhotograph = api.require('FNPhotograph');
FNPhotograph.openCameraView({
rect: {
x: 0,
y: 60,
w: api.winWidth,
h: api.winHeight - 60
},
orientation: 'portrait',
fixedOn: api.frameName,
fixed: true
}, function(ret) {
});
};
//low 720,480
//medium 720,480
//high 720,480
function pz() {
FNPhotograph.takePhoto({
quality: 'high',
album: true
}, function(ret) {
var pathimg = ret.imagePath;
alert(pathimg);
});
}
</script>
|
|