diff options
-rw-r--r-- | mupdf/pdf_image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mupdf/pdf_image.c b/mupdf/pdf_image.c index 32b7a52d..ed2ef8e4 100644 --- a/mupdf/pdf_image.c +++ b/mupdf/pdf_image.c @@ -394,6 +394,7 @@ pdf_loadimage(pdf_image **imgp, pdf_xref *xref, fz_obj *dict, fz_obj *ref) buf->wp = buf->bp + expectedsize; fz_dropbuffer(img->samples); img->samples = buf; + fz_warn("truncated image; proceeding anyway"); } /* 0 means opaque and 1 means transparent, so we invert to get alpha */ |