需求,,const ctx = wx.createCameraContext()
ctx.takePhoto这种方法生成的图片,,,如何判断图片大小
看网上说的都是chooseImage.size
求各位大佬不吝指教
参考:https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.getImageInfo.html
wx.getImageInfo
https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.getImageInfo.html