github.com/pdfcpu/pdfcpu@v0.11.1/pkg/testdata/pdf20/imageWithBPC.pdf (about)

     1  %PDF-2.0
     2  ÿØÿá
     3  1 0 obj
     4  <<
     5    /Type /Catalog
     6    /Pages 2 0 R
     7    /Metadata 11 0 R
     8  >>
     9  endobj
    10  
    11  2 0 obj
    12  <<
    13    /Type /Pages
    14    /Kids [3 0 R]
    15    /Count 1
    16  >>
    17  endobj
    18  
    19  3 0 obj
    20  <<
    21    /Type /Page
    22    /Parent 2 0 R
    23    /MediaBox [0 0 612 396]
    24    /Contents [8 0 R]
    25    /Resources <<
    26      /ExtGState << /GS1 4 0 R >>
    27      /ColorSpace << /CS1 5 0 R >>
    28      /XObject <<
    29        /Im1 6 0 R 
    30        /Im2 7 0 R
    31      >>
    32      /Font << /F1 9 0 R >>
    33    >>
    34  >>
    35  endobj
    36  
    37  % UseBlackPtComp entry is new in PDF 2.0 and specifies whether
    38  % black point compensation should be used when rendering or color converting
    39  4 0 obj
    40  <<
    41    /Type /ExtGState
    42    /RI /Perceptual
    43    /UseBlackPtComp /ON
    44  >>
    45  endobj
    46  
    47  % A CalRGB calibrated colorspace that simulates Wide Gamut RGB
    48  5 0 obj
    49  [ /CalRGB <<
    50      /WhitePoint [ 0.9643 1.0000 0.8251 ]
    51      /Gamma [ 2.2 2.2 2.2 ]
    52      /Matrix [ 0.7161 0.2582 0.0000
    53                0.1009 0.7249 0.0518
    54                0.1472 0.0168 0.7734 ]
    55    >>
    56  ]
    57  endobj
    58  
    59  6 0 obj
    60  <<
    61    /Type /XObject
    62    /Subtype /Image
    63    /Width 72
    64    /Height 72
    65    /ColorSpace 5 0 R
    66    /BitsPerComponent 8
    67    /Filter /DCTDecode
    68    /Length 1466
    69  >>
    70  stream
    71  ExifII*DuckyAdobed
#%'%#//33//@@@@@@@@@@@@@@@&&0##0+.'''.+550055@@?@@@@@@@@@@@@HH"!Q1"aqA2RBCb#3S!1AaBQq"2Rb#?BQcEh+Vg-mϝ&:U
Rk#NPk#nT:)d+[i[27ٛnp44r>'#%i#(12
Ũˢ-i8>]2ghnXhsMAJ^1Ů!eBc\旹AQKKX<wW>͏aMԒkHcvb1S	&jIJټٹ&h(6G~T]&
$w[ѼYkuGs6<哫7Շ0z2ynuaxD"fE/Q3oBë+jߕօbsfڍZizWtBe/p[a'|OFK^PGP=l~ΤM2o_bzBzGt	tyyʼnnDXN:ڷ̳L=}T,pAxtY`?HH@b_O~(]G,F>Ygl~Nł͇S<=©t,{h!
    72  ʊf"?7'lݞ:3>Kls7NdLO wv<L֋hiN9p
6U\vϩ׏*1DYXFzQҵ^ާ:VIgu3>d$dntoh$VT.pf-6Gܗ3V?;dVXGIkꃱ*C]$aͩ׃]Xµm=^4#IGv8oi1D)@nw2<1edV8>P;t嗆
    73  i<	O>7lkxq3!gp,BF<tL<7Rj n2{+BdB-<QU|
~!Q|x<Wfe~?%{i==`w>_Uc6!CŃ_ڌ?R1XYepsȣZ>^Xԡ9;AM(B
    74  endstream
    75  endobj
    76  
    77  % This image is the same as the one above, but in an uncalibrated
    78  % RGB representation. Unfortunately there's no easy way to re-use
    79  % the stream data from the other image.
    80  7 0 obj
    81  <<
    82    /Type /XObject
    83    /Subtype /Image
    84    /Width 72
    85    /Height 72
    86    /ColorSpace /DeviceRGB
    87    /BitsPerComponent 8
    88    /Filter /DCTDecode
    89    /Length 1466
    90  >>
    91  stream
    92  ExifII*DuckyAdobed
#%'%#//33//@@@@@@@@@@@@@@@&&0##0+.'''.+550055@@?@@@@@@@@@@@@HH"!Q1"aqA2RBCb#3S!1AaBQq"2Rb#?BQcEh+Vg-mϝ&:U
Rk#NPk#nT:)d+[i[27ٛnp44r>'#%i#(12
Ũˢ-i8>]2ghnXhsMAJ^1Ů!eBc\旹AQKKX<wW>͏aMԒkHcvb1S	&jIJټٹ&h(6G~T]&
$w[ѼYkuGs6<哫7Շ0z2ynuaxD"fE/Q3oBë+jߕօbsfڍZizWtBe/p[a'|OFK^PGP=l~ΤM2o_bzBzGt	tyyʼnnDXN:ڷ̳L=}T,pAxtY`?HH@b_O~(]G,F>Ygl~Nł͇S<=©t,{h!
    93  ʊf"?7'lݞ:3>Kls7NdLO wv<L֋hiN9p
6U\vϩ׏*1DYXFzQҵ^ާ:VIgu3>d$dntoh$VT.pf-6Gܗ3V?;dVXGIkꃱ*C]$aͩ׃]Xµm=^4#IGv8oi1D)@nw2<1edV8>P;t嗆
    94  i<	O>7lkxq3!gp,BF<tL<7Rj n2{+BdB-<QU|
~!Q|x<Wfe~?%{i==`w>_Uc6!CŃ_ڌ?R1XYepsȣZ>^Xԡ9;AM(B
    95  endstream
    96  endobj
    97  
    98  % This content stream contains two images and several lines of text
    99  8 0 obj
   100  << /Length 520 >>
   101  stream
   102  q
   103    /GS1 gs
   104    /CS1 cs
   105    q
   106      100 0 0 100 72 172 cm
   107      /Im1 Do
   108    Q
   109    q
   110      100 0 0 100 360 116 cm
   111      /Im2 Do
   112    Q
   113    /F1 16 Tf
   114    BT
   115      1 0 0 1 36 360 Tm
   116      (This text is in a Calibrated RGB (CalRGB) colorspace) Tj
   117  
   118      /F1 12 Tf
   119      14 TL
   120  
   121      1 0 0 1 36 300 Tm
   122      (This image is in CalRGB,) Tj
   123      T*
   124      (It should appear red and the black darker than on the right) Tj
   125  
   126      1 0 0 1 360 100 Tm
   127      (This image is in DeviceRGB,) Tj
   128      T*
   129      (It should appear orange and black) Tj
   130    ET
   131  Q
   132  endstream
   133  endobj
   134  
   135  9 0 obj
   136  <<
   137    /Type /Font
   138    /Subtype /Type1
   139    /Name /F1
   140    /BaseFont /Helvetica
   141    /FirstChar 33
   142    /LastChar 126
   143    /Widths [ 278 355 556 556 889 667 222 333 333 389 584 278 333 278 278 556
   144    556 556 556 556 556 556 556 556 556 278 278 584 584 584 556 1015
   145    667 667 722 722 667 611 778 722 278 500 667 556 833 722 778 667
   146    778 722 667 611 722 667 944 667 667 611 278 278 278 469 556 222
   147    556 556 500 556 556 278 556 556 222 222 500 222 833 556 556 556
   148    556 333 500 278 556 500 722 500 500 500 334 260 334 584 ]
   149    /FontDescriptor 10 0 R
   150  >>
   151  endobj
   152  
   153  10 0 obj
   154  <<
   155    /Type /FontDescriptor
   156    /FontName /Helvetica
   157    /Flags 4 
   158    /FontBBox [ -166 -225 1000 931 ]
   159    /ItalicAngle 0
   160    /Ascent 850
   161    /Descent -207
   162    /CapHeight 718
   163    /YHeight 523
   164    /StemV 88
   165    /StemH 45
   166    /MaxWidth 944
   167    /AvgWidth 500
   168    /MissingWidth 278
   169  >>
   170  endobj
   171  
   172  11 0 obj
   173  <<
   174    /Length 2508
   175    /Type /Metadata
   176    /Subtype /XML
   177  >>
   178  stream
   179  <x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='Insert XMP tool name here.'>
   180    <rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
   181      <rdf:Description rdf:about="" xmlns:pdf="http://ns.adobe.com/pdf/1.3/">
   182        <pdf:Producer>Datalogics - example producer program name here</pdf:Producer>
   183        <pdf:Copyright>Copyright 2017 PDF Association</pdf:Copyright>
   184        <pdf:Keywords>PDF 2.0 sample example</pdf:Keywords>
   185      </rdf:Description>
   186      <rdf:Description rdf:about="" xmlns:xap="http://ns.adobe.com/xap/1.0/">
   187        <xap:CreateDate>2017-05-24T10:30:11Z</xap:CreateDate>
   188        <xap:MetadataDate>2017-07-11T07:55:11Z</xap:MetadataDate>
   189        <xap:ModifyDate>2017-07-11T07:55:11Z</xap:ModifyDate>
   190        <xap:CreatorTool>Datalogics - example creator tool name here</xap:CreatorTool>
   191      </rdf:Description>
   192      <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/">
   193        <dc:format>application/pdf</dc:format>
   194        <dc:title>
   195          <rdf:Alt>
   196            <rdf:li xml:lang="x-default">A simple PDF 2.0 example file</rdf:li>
   197          </rdf:Alt>
   198        </dc:title>
   199        <dc:creator>
   200          <rdf:Seq>
   201            <rdf:li>Datalogics Incorporated</rdf:li>
   202          </rdf:Seq>
   203        </dc:creator>
   204        <dc:description>
   205          <rdf:Alt>
   206            <rdf:li xml:lang="x-default">Demonstration of a simple PDF 2.0 file and the new graphic state dictionary UseBlackPtComp entry for controlling whether black point compensation should be used when rendering or color converting.</rdf:li>
   207          </rdf:Alt>
   208        </dc:description>
   209        <dc:rights>
   210          <rdf:Alt>
   211            <rdf:li xml:lang="x-default">Copyright 2017 PDF Association. Licensed to the public under Creative Commons Attribution-ShareAlike 4.0 International license.</rdf:li>
   212          </rdf:Alt>
   213        </dc:rights>
   214      </rdf:Description>
   215      <rdf:Description rdf:about="" xmlns:xapRights="http://ns.adobe.com/xap/1.0/rights/">
   216        <xapRights:Marked>True</xapRights:Marked>
   217      </rdf:Description>
   218      <rdf:Description rdf:about="" xmlns:cc="http://creativecommons.org/ns#">
   219        <cc:license rdf:resource="https://creativecommons.org/licenses/sa/4.0/" />
   220      </rdf:Description>
   221      <rdf:Description rdf:about="" xmlns:xapMM="http://ns.adobe.com/xap/1.0/mm/">
   222        <xapMM:DocumentID>uuid:533fdaad-7b1c-4dc1-424c-d632511a13bf</xapMM:DocumentID>
   223        <xapMM:InstanceID>uuid:984423e7-edd0-46aa-9238-6bb421721f48</xapMM:InstanceID>
   224      </rdf:Description>
   225    </rdf:RDF>
   226  </x:xmpmeta>
   227  endstream
   228  endobj
   229  
   230  xref
   231  0 12
   232  0000000000 65535 f
   233  0000000020 00000 n
   234  0000000101 00000 n
   235  0000000173 00000 n
   236  0000000601 00000 n
   237  0000000754 00000 n
   238  0000000976 00000 n
   239  0000002811 00000 n
   240  0000004545 00000 n
   241  0000005124 00000 n
   242  0000005689 00000 n
   243  0000005980 00000 n
   244  trailer
   245  <<
   246    /Size 12
   247    /Root 1 0 R
   248    /ID [ <dac4b62ee774e13b950fffb36989b244><dac4b62ee774e13b950fffb36989b244> ]
   249  >>
   250  startxref
   251  8589
   252  %%EOF