// AdoeFileXML.h
#if(0)

///*****************************    Indd 文件缩略图 分析        *********************************///

   <xmp:Thumbnails>
    <rdf:Alt>
     <rdf:li
      xmpGImg:format="JPEG"
      xmpGImg:width="256"
      xmpGImg:height="256"
      xmpGImg:image="/9j/4AAQSk    /*  Base64 编码    */        q7FXYq//Z"/>
    </rdf:Alt>
   </xmp:Thumbnails>


   <xmpTPg:Fonts>
    <rdf:Bag>
     <rdf:li
      stFnt:fontName="SimSun"
      stFnt:fontFamily="SimSun"
      stFnt:fontFace="Regular"
      stFnt:fontType="TrueType"
      stFnt:versionString="SimSunVersion 2.11"
      stFnt:composite="false"
      stFnt:fontFileName="simsun.ttc"/>
     <rdf:li
      stFnt:fontName="SimHei"
      stFnt:fontFamily="SimHei"
      stFnt:fontFace="Regular"
      stFnt:fontType="TrueType"
      stFnt:versionString="SimHeiVersion 2.10"
      stFnt:composite="false"
      stFnt:fontFileName="simhei.ttf"/>
     <rdf:li
      stFnt:fontName="ATC-9ed14f53*Arial"
      stFnt:fontFamily="&lt;9ED1&gt;&lt;4F53&gt;Arial"
      stFnt:fontType="ATC"
      stFnt:versionString="ATC-9ed14f53*Arial"
      stFnt:composite="false"
      stFnt:fontFileName="
Arial"/>
     <rdf:li
      stFnt:fontName="FZKTJW--GB1-0"
      stFnt:fontFamily="FZKai-Z03S"
      stFnt:fontFace="Regular"
      stFnt:fontType="TrueType"
      stFnt:versionString="FZKTJW--GB1-03.00"
      stFnt:composite="false"
      stFnt:fontFileName="FZKTJW.TTF"/>
    </rdf:Bag>
   </xmpTPg:Fonts>
  </rdf:Description>
 </rdf:RDF>
</x:xmpmeta>
                                                                                                    
                                
<?xpacket end="w"?>


///*****************************  高版本 AI EPS文件缩略图 分析        *********************************///

<?xpacket begin="
" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.0-c060 61.134777, 2010/02/12-17:32:00        ">
   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Description rdf:about=""
            xmlns:pdf="http://ns.adobe.com/pdf/1.3/">
         <pdf:Producer>Adobe PDF library 9.90</pdf:Producer>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:xmp="http://ns.adobe.com/xap/1.0/"
            xmlns:xmpGImg="http://ns.adobe.com/xap/1.0/g/img/">
         <xmp:CreateDate>2013-06-09T10:20:45+08:00</xmp:CreateDate>
         <xmp:ModifyDate>2013-06-09T10:20:49+08:00</xmp:ModifyDate>
         <xmp:CreatorTool>Adobe Illustrator CS5.1</xmp:CreatorTool>
         <xmp:MetadataDate>2013-06-09T10:20:49+08:00</xmp:MetadataDate>
         <xmp:Thumbnails>
            <rdf:Alt>
               <rdf:li rdf:parseType="Resource">
                  <xmpGImg:width>256</xmpGImg:width>
                  <xmpGImg:height>216</xmpGImg:height>
                  <xmpGImg:format>JPEG</xmpGImg:format>
                  <xmpGImg:image>/9j/4AAQSk    /*  Base64 编码    */       q7FXYq//Z/9k=</xmpGImg:image>
               </rdf:li>
            </rdf:Alt>
         </xmp:Thumbnails>


///*****************************  低版本  AI EPS文件缩略图 分析      *********************************///

10 0 obj<</Length 13367>>stream
%%BoundingBox: -1 -1 1511 1262
%%HiResBoundingBox: -0.1079 -0.416 1510.9756 1261.5264
%AI7_Thumbnail: 128 108 8
%%BeginData: 13211 Hex Bytes
%0000330000660000990000CC0033000033330033660033990033CC0033FF
%0066000066330066660066990066CC0066FF009900009933009966009999
%0099CC0099FF00CC0000CC3300CC6600CC9900CCCC00CCFF00FF3300FF66
%00FF9900FFCC3300003300333300663300993300CC3300FF333300333333
%3333663333993333CC3333FF3366003366333366663366993366CC3366FF
%3399003399333399663399993399CC3399FF33CC0033CC3333CC6633CC99
%33CCCC33CCFF33FF0033FF3333FF6633FF9933FFCC33FFFF660000660033
%6600666600996600CC6600FF6633006633336633666633996633CC6633FF
%6666006666336666666666996666CC6666FF669900669933669966669999
%6699CC6699FF66CC0066CC3366CC6666CC9966CCCC66CCFF66FF0066FF33
%66FF6666FF9966FFCC66FFFF9900009900339900669900999900CC9900FF
%9933009933339933669933999933CC9933FF996600996633996666996699
%9966CC9966FF9999009999339999669999999999CC9999FF99CC0099CC33
%99CC6699CC9999CCCC99CCFF99FF0099FF3399FF6699FF9999FFCC99FFFF
%CC0000CC0033CC0066CC0099CC00CCCC00FFCC3300CC3333CC3366CC3399
%CC33CCCC33FFCC6600CC6633CC6666CC6699CC66CCCC66FFCC9900CC9933
%CC9966CC9999CC99CCCC99FFCCCC00CCCC33CCCC66CCCC99CCCCCCCCCCFF
%CCFF00CCFF33CCFF66CCFF99CCFFCCCCFFFFFF0033FF0066FF0099FF00CC
%FF3300FF3333FF3366FF3399FF33CCFF33FFFF6600FF6633FF6666FF6699
%FF66CCFF66FFFF9900FF9933FF9966FF9999FF99CCFF99FFFFCC00FFCC33
%FFCC66FFCC99FFCCCCFFCCFFFFFF33FFFF66FFFF99FFFFCC110000001100
%000011111111220000002200000022222222440000004400000044444444
%550000005500000055555555770000007700000077777777880000008800
%000088888888AA000000AA000000AAAAAAAABB000000BB000000BBBBBBBB
%DD000000DD000000DDDDDDDDEE000000EE000000EEEEEEEE0000000000FF
%00FF0000FFFFFF0000FF00FFFFFF00FFFFFF
%524C45527DA8A8A87C767DA8A8A8A1FD08A87D527DA1FD07A8A1FD09A87D
%5252FD07A8A1A8A1A8A1FD06A8A727527DFD09A8A1FD07A8A17D52FD09A8
%A1FD09A876527DFD07A8A1A8A2A8A2A8527DA1A8A87D2752FD05FFCBFFCA

// ------------------------中间省略-----------------------------

%FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8
%FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFFFFFA8FFFFFFA8
%FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8
%FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8
%%EndData
endstream
endobj



 
 https://github.com/jmue/exiv2
 https://github.com/jmue/exiv2/blob/a2e75c176fe9228d967eee02181446d5fba93eab/src/preview.cpp
 
#endif
