13 lines
529 B
Diff
13 lines
529 B
Diff
|
Index: tiff-3.9.4/libtiff/tif_jpeg.c
|
||
|
===================================================================
|
||
|
--- tiff-3.9.4.orig/libtiff/tif_jpeg.c
|
||
|
+++ tiff-3.9.4/libtiff/tif_jpeg.c
|
||
|
@@ -850,6 +850,7 @@ JPEGPreDecode(TIFF* tif, tsample_t s)
|
||
|
if (downsampled_output) {
|
||
|
/* Need to use raw-data interface to libjpeg */
|
||
|
sp->cinfo.d.raw_data_out = TRUE;
|
||
|
+ sp->cinfo.d.do_fancy_upsampling = FALSE;
|
||
|
tif->tif_decoderow = JPEGDecodeRaw;
|
||
|
tif->tif_decodestrip = JPEGDecodeRaw;
|
||
|
tif->tif_decodetile = JPEGDecodeRaw;
|