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

Unified Diff: fx/image/3_image_imagemask.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fx/image/3_alternate_expected.pdf.0.png ('k') | fx/image/3_image_imagemask_expected.pdf.0.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fx/image/3_image_imagemask.pdf
diff --git a/fx/image/3_image_imagemask.pdf b/fx/image/3_image_imagemask.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..97476c4813cc59e8707f9bcdfddeb321aea94fb1
--- /dev/null
+++ b/fx/image/3_image_imagemask.pdf
@@ -0,0 +1,104 @@
+%PDF-1.4
+
+1 0 obj
+<<
+ /Type /Pages
+ /Kids [2 0 R]
+ /Count 1
+>>
+endobj
+
+2 0 obj
+<<
+ /Type /Page
+ /Parent 1 0 R
+ /MediaBox [0 0 531 666]
+ /Contents [4 0 R]
+ /Resources <<
+ /Font <</F1 5 0 R>>
+ /XObject<</Im1 6 0 R>>
+ /ExtGState<</GS1 7 0 R>>
+ >>
+
+>>
+endobj
+
+3 0 obj
+<<
+ /Type /Catalog
+ /Pages 1 0 R
+>>
+endobj
+
+4 0 obj
+<<
+ /Length 0
+
+>> stream
+%/GS1 gs
+1 0 0 rg
+q
+100 0 0 100 100 500 cm
+/Im1 Do
+Q
+
+
+
+endstream
+endobj
+
+5 0 obj
+<<
+ /Type /Font
+ /Subtype /Type1
+ /BaseFont /Helvetica
+>>
+endobj
+
+6 0 obj
+<<
+ /ImageMask true
+ /Decode [1 0 ]
+ /Type /XObject
+ /Subtype /Image
+ /Width 8 % pixel width
+ /Height 8 % pixel height
+ %/ColorSpace /DeviceGray % color space: each pixel uses R,G,B components
+ /BitsPerComponent 1 % each component uses one byte
+ /Length 0 % should be length of image data.
+ % Use 0 here for convinience
+ /Filter /ASCIIHexDecode % use hexidecimal form for convinience
+ /Interpolate true
+>> stream
+FF0000
+C00000
+A00000
+800000
+600000
+400000
+200000
+0000FF
+>
+endstream
+endobj
+
+7 0 obj
+<<
+/Type /ExtGState
+/ca 0.5
+>>
+endobj
+xref
+
+
+trailer
+<<
+ /Size 0
+ /Root 3 0 R
+>>
+
+startxref
+0
+
+%%EOF
+
« no previous file with comments | « fx/image/3_alternate_expected.pdf.0.png ('k') | fx/image/3_image_imagemask_expected.pdf.0.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698