Aravindhan K
Committed by David PHAM-VAN

Chore: image.fromBytes() pass bytes offset.

@@ -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 );