Skip to content

Commit

Permalink
Fix rotatedBitmap dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
quoc-huynh-cosee committed Apr 17, 2024
1 parent 04c694c commit 9c0f07b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ class NativeImageCropperPlugin : FlutterPlugin, MethodCallHandler {
}
val rotatedBitmap = Bitmap.createBitmap(
bitmap,
x,
y,
width,
height,
0,
0,
bitmap.width,
bitmap.height,
matrix,
false
)
Expand Down

0 comments on commit 9c0f07b

Please sign in to comment.