From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/tiff/files: tiff-4.0.3-tiff2pdf-colors.patch |
Date: | Sat, 03 Nov 2012 04:42:12 |
Message-Id: | 20121103044149.E42F3215FF@flycatcher.gentoo.org |
1 | ssuominen 12/11/03 04:41:49 |
2 | |
3 | Added: tiff-4.0.3-tiff2pdf-colors.patch |
4 | Log: |
5 | Fix output colors of tiff2pdf when JPEG compression is enabled wrt #145055 by Syed Amer Gilani |
6 | |
7 | (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-libs/tiff/files/tiff-4.0.3-tiff2pdf-colors.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/tiff/files/tiff-4.0.3-tiff2pdf-colors.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/tiff/files/tiff-4.0.3-tiff2pdf-colors.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: tiff-4.0.3-tiff2pdf-colors.patch |
16 | =================================================================== |
17 | http://bugs.gentoo.org/145055 |
18 | |
19 | http://build.opensuse.org/package/view_file?file=tiff-4.0.2-tiff2pdf-colors.patch&package=tiff&project=openSUSE%3AFactory |
20 | |
21 | --- tools/tiff2pdf.c |
22 | +++ tools/tiff2pdf.c |
23 | @@ -4991,7 +4991,7 @@ |
24 | |
25 | if(t2p->tiff_photometric != PHOTOMETRIC_YCBCR) { |
26 | written += t2pWriteFile(output, (tdata_t) "/DecodeParms ", 13); |
27 | - written += t2pWriteFile(output, (tdata_t) "<< /ColorTransform 0 >>\n", 24); |
28 | + written += t2pWriteFile(output, (tdata_t) "<< /ColorTransform 1 >>\n", 24); |
29 | } |
30 | break; |
31 | #endif |