Committed by
David PHAM-VAN
Chore: image.fromBytes() pass bytes offset.
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -129,6 +129,7 @@ class PdfRasterBase { | @@ -129,6 +129,7 @@ class PdfRasterBase { | ||
129 | width: width, | 129 | width: width, |
130 | height: height, | 130 | height: height, |
131 | bytes: pixels.buffer, | 131 | bytes: pixels.buffer, |
132 | + bytesOffset: pixels.offsetInBytes, | ||
132 | format: im.Format.uint8, | 133 | format: im.Format.uint8, |
133 | numChannels: 4, | 134 | numChannels: 4, |
134 | ); | 135 | ); |
-
Please register or login to post a comment