]> www.fi.muni.cz Git - evince.git/blobdiff - backend/tiff/tiff-document.c
tiff: Set stopOnError to zero on TIFFReadRGBAImageOriented() calls
[evince.git] / backend / tiff / tiff-document.c
index c310b34ae1646ae1a3a83153e31af1d192df6239..ca40397111d18c8b18a52e294b27a2ca8fb8e28c 100644 (file)
@@ -293,7 +293,7 @@ tiff_document_render (EvDocument      *document,
        TIFFReadRGBAImageOriented (tiff_document->tiff,
                                   width, height,
                                   (uint32 *)pixels,
-                                  orientation, 1);
+                                  orientation, 0);
        pop_handlers ();
 
        /* Convert the format returned by libtiff to
@@ -378,7 +378,7 @@ tiff_document_get_thumbnail (EvDocument      *document,
        TIFFReadRGBAImageOriented (tiff_document->tiff,
                                   width, height,
                                   (uint32 *)pixels,
-                                  ORIENTATION_TOPLEFT, 1);
+                                  ORIENTATION_TOPLEFT, 0);
        pop_handlers ();
 
        scaled_pixbuf = gdk_pixbuf_scale_simple (pixbuf,