Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Side by Side Diff: fx/image/3_interpolate_image.pdf

Issue 1024623002: Add image/ directory to corpus (Closed) Base URL: https://pdfium.googlesource.com/pdfium_tests@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 %PDF-1.7
2
3 1 0 obj
4 <<
5 /Type /Pages
6 /Kids [2 0 R]
7 /Count 1
8 >>
9 endobj
10
11 2 0 obj
12 <<
13 /Type /Page
14 /Parent 1 0 R
15 /MediaBox [0 0 531 666]
16 /Contents [4 0 R]
17 /Resources <<
18 /Font <</F1 5 0 R>>
19 /ColorSpace<</CS1 6 0 R>>
20 /XObject<</Im1 7 0 R /Im2 9 0 R>>
21 /ExtGState<</GS1 8 0 R>>
22 >>
23
24 >>
25 endobj
26
27 3 0 obj
28 <<
29 /Type /Catalog
30 /Pages 1 0 R
31 >>
32 endobj
33
34 4 0 obj
35 <<
36 /Length 0
37
38 >> stream
39
40 q 100 0 0 100 50 500 cm /Im1 Do Q
41 q /GS1 gs 100 0 0 100 200 500 cm /Im1 Do Q
42 q 100 0 0 100 50 350 cm /Im2 Do Q
43
44 q /GS1 gs 100 0 0 100 200 350 cm /Im2 Do Q
45
46 BT
47 /F1 20 Tf 50 610 TD (Interpolate)Tj
48 150 0 TD (Transparent) Tj
49 -150 -150 TD (CalRGB)Tj
50 150 0 TD (Transparent)Tj
51 ET
52
53 endstream
54 endobj
55
56 5 0 obj
57 <<
58 /Type /Font
59 /Subtype /Type1
60 /BaseFont /Helvetica
61 >>
62 endobj
63
64
65
66 6 0 obj
67 [/CalRGB <<%/WhitePoint [1.0 1.0 0.5 ]
68 /WhitePoint [0.905 1.0 1.0890 ]
69 %/Gamma [1.800000 1.800000 1.800000 ]
70 %/Matrix [0.4497 0.2446 0.0252 0.3163 0.6720 0.1412 0.1845 0.0833 0.9227]
71 >>
72 ]
73 endobj
74
75 7 0 obj % a colored image
76 <<
77 %/ImageMask true
78 /Type /XObject
79 /Subtype /Image
80 /Width 8 % pixel width
81 /Height 8 % pixel height
82 /ColorSpace /DeviceRGB % color space: each pixel uses R,G,B com ponents
83 /BitsPerComponent 8 % each component uses one byte
84 /Length 0 % should be length of im age data.
85 % Use 0 here for convinience
86 /Filter /ASCIIHexDecode % use hexidecimal form for convinience
87 /Interpolate true
88 >> stream
89 FF0000 C00000 A00000 800000 600000 400000 200000 0000FF
90 FF2000 C00000 A00000 800000 600000 400000 200000 0000C0
91 FF4000 C00000 A00000 800000 600000 400000 200000 0000A0
92 FF6000 C00000 A00000 800000 600000 400000 200000 000080
93 FF8000 C00000 A00000 800000 600000 400000 200000 000060
94 FFA000 C00000 A00000 800000 600000 400000 200000 000040
95 FFC000 C00000 A00000 800000 600000 400000 200000 000020
96 FFFF00 C0C000 A0A000 808000 606000 404000 202000 000000>
97 endstream
98 endobj
99
100 9 0 obj
101 <<
102 %/ImageMask true
103 /Type /XObject
104 /Subtype /Image
105 /Width 8 % pixel width
106 /Height 8 % pixel height
107 /ColorSpace 6 0 R % color space: each pixel uses R,G,B com ponents
108 /BitsPerComponent 8 % each component uses one byte
109 /Length 0 % should be length of im age data.
110 % Use 0 here for convinience
111 /Filter /ASCIIHexDecode % use hexidecimal form for convinience
112 %/Interpolate true
113 >> stream
114 FF0000 C00000 A00000 800000 600000 400000 200000 0000FF
115 FF2000 C00000 A00000 800000 600000 400000 200000 0000C0
116 FF4000 C00000 A00000 800000 600000 400000 200000 0000A0
117 FF6000 C00000 A00000 800000 600000 400000 200000 000080
118 FF8000 C00000 A00000 800000 600000 400000 200000 000060
119 FFA000 C00000 A00000 800000 600000 400000 200000 000040
120 FFC000 C00000 A00000 800000 600000 400000 200000 000020
121 FFFF00 C0C000 A0A000 808000 606000 404000 202000 000000>
122 endstream
123 endobj
124
125 8 0 obj
126 <<
127 /ca 0.5
128 >>
129 endobj
130
131 xref
132
133
134 trailer
135 <<
136 /Size 0
137 /Root 3 0 R
138 >>
139
140 startxref
141 0
142
143 %%EOF
144
OLDNEW
« no previous file with comments | « fx/image/3_image_imagemask_expected.pdf.0.png ('k') | fx/image/3_interpolate_image_expected.pdf.0.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698