parse QRCode Result
fun parseQRCodeResult(bitmapPath: String, reqWidth: Int = DEFAULT_REQ_WIDTH, reqHeight: Int = DEFAULT_REQ_HEIGHT): Result?
解析二维码图片路径,返回 Result。
当原图尺寸大于目标尺寸时会先压缩,再进行解析。 当 reqWidth 和 reqHeight 小于等于 0 时不压缩。
Return
解析结果,失败返回 null。
Parameters
bitmap Path
需要解析的图片路径。
req Width
请求目标宽度。
req Height
请求目标高度。