Showing
2 changed files
with
2 additions
and
1 deletions
| @@ -13,6 +13,7 @@ | @@ -13,6 +13,7 @@ | ||
| 13 | - Add Widget.draw() to paint any widget on a canvas | 13 | - Add Widget.draw() to paint any widget on a canvas |
| 14 | - Improve Chart labels | 14 | - Improve Chart labels |
| 15 | - Improve BoxBorder correctness | 15 | - Improve BoxBorder correctness |
| 16 | +- Fix Exif parsing with an offset | ||
| 16 | 17 | ||
| 17 | ## 1.13.0 | 18 | ## 1.13.0 |
| 18 | 19 |
| @@ -30,7 +30,7 @@ class PdfJpegInfo { | @@ -30,7 +30,7 @@ class PdfJpegInfo { | ||
| 30 | int width; | 30 | int width; |
| 31 | int height; | 31 | int height; |
| 32 | int color; | 32 | int color; |
| 33 | - var offset = 0; | 33 | + var offset = image.offsetInBytes; |
| 34 | while (offset < buffer.lengthInBytes) { | 34 | while (offset < buffer.lengthInBytes) { |
| 35 | while (buffer.getUint8(offset) == 0xff) { | 35 | while (buffer.getUint8(offset) == 0xff) { |
| 36 | offset++; | 36 | offset++; |
-
Please register or login to post a comment