File tiff-3.8.2-tiff2pdf-colors.patch of Package tiff3

Index: tiff-3.8.2/tools/tiff2pdf.c
===================================================================
--- tiff-3.8.2.orig/tools/tiff2pdf.c
+++ tiff-3.8.2/tools/tiff2pdf.c
@@ -4989,7 +4989,7 @@ tsize_t t2p_write_pdf_xobject_stream_fil
 
 			if(t2p->tiff_photometric != PHOTOMETRIC_YCBCR) {
 				written += TIFFWriteFile(output, (tdata_t) "/DecodeParms ", 13);
-				written += TIFFWriteFile(output, (tdata_t) "<< /ColorTransform 0 >>\r", 24);
+				written += TIFFWriteFile(output, (tdata_t) "<< /ColorTransform 1 >>\r", 24);
 			}
 			break;
 #endif
openSUSE Build Service is sponsored by