Showing
1 changed file
with
1 additions
and
3 deletions
| @@ -84,6 +84,7 @@ class PdfImage extends PdfXObject { | @@ -84,6 +84,7 @@ class PdfImage extends PdfXObject { | ||
| 84 | } | 84 | } |
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | + /// write the pixels to the stream | ||
| 87 | @override | 88 | @override |
| 88 | void _prepare() { | 89 | void _prepare() { |
| 89 | if (jpeg) { | 90 | if (jpeg) { |
| @@ -93,9 +94,6 @@ class PdfImage extends PdfXObject { | @@ -93,9 +94,6 @@ class PdfImage extends PdfXObject { | ||
| 93 | return; | 94 | return; |
| 94 | } | 95 | } |
| 95 | 96 | ||
| 96 | - // write the pixels to the stream | ||
| 97 | - // print("Processing image ${img.width}x${img.height} pixels"); | ||
| 98 | - | ||
| 99 | int w = width; | 97 | int w = width; |
| 100 | int h = height; | 98 | int h = height; |
| 101 | int s = w * h; | 99 | int s = w * h; |
-
Please register or login to post a comment