Update ImagesIO.kt

This commit is contained in:
Chad Song
2022-09-06 16:02:02 +08:00
committed by GitHub
parent 6717539d0e
commit 916611e6d7

View File

@ -85,7 +85,7 @@ class ImagesIOIml(override val image: WeChatFile) : ImagesIO {
result.recycle()
}
result = tmp
if (result.byteCount < maxLength) {
if (result.byteCount <= maxLength) {
break
}
}