https://www.bilibili.com/blackboard/activity-5hanayome.html
刚刚打开 B 站《五等分的新娘》的活动页面时,发现加载特别慢。于是 F12 找了一下原因,结果发现了一张图片大小足有 20M,关键下载下来一看就是最顶上的标题图,分辨率才 563*88。
图片源地址: https://activity.hdslb.com/blackboard/static/20190109/30cb1f6c4bfeb93761cf35c27d9b88cb/rJv7IFQfN.png
看着这个文件楞了半天想起来用 ps 看了下文件信息,发现了 20M 的原因,图片的原始数据里有超长一大堆。
关键的部分我直接放文本了,因为对 rdf 不了解,所以来问问。
本来是想问的,结果发帖时搜到的相关问题,好像是 ps 有 bug,有时会无端塞入大量无用的 DocumentAncestors 数据,参考链接 tieba.baidu.com/p/5166418760
可以用 ps 脚本删除这些数据,或者导出为 web 所用格式。
虽说现在带宽高了,流量也不值钱了,但给网页供图时还是要有点减小图片体积的意识(不然导出为 web 所用格式干嘛用呢),20M 的图片 B 站员工都没觉得不正常吗。
<?xml version="1.0" encoding="utf-8"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c142 79.160924, 2017/07/13-01:06:39 ">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/" rdf:about="">
<xmp:CreatorTool>Adobe Photoshop CC (Windows)</xmp:CreatorTool>
<xmp:CreateDate>2019-01-07T16:54:57+08:00</xmp:CreateDate>
<xmp:MetadataDate>2019-01-09T22:32:09+08:00</xmp:MetadataDate>
<xmp:ModifyDate>2019-01-09T22:32:09+08:00</xmp:ModifyDate>
<xmpMM:InstanceID>xmp.iid:9fb6fd1e-361b-4049-9489-abc4f4a9d1e5</xmpMM:InstanceID>
<xmpMM:DocumentID>adobe:docid:photoshop:62c91031-d32f-5348-88ad-15c57dc04808</xmpMM:DocumentID>
<xmpMM:OriginalDocumentID>xmp.did:a70abff5-556d-cb4c-9e32-86554191193f</xmpMM:OriginalDocumentID>
<xmpMM:History>
<rdf:Seq>
<rdf:li rdf:parseType="Resource">
<stEvt:action>created</stEvt:action>
<stEvt:instanceID>xmp.iid:a70abff5-556d-cb4c-9e32-86554191193f</stEvt:instanceID>
<stEvt:when>2019-01-07T16:54:57+08:00</stEvt:when>
<stEvt:softwareAgent>Adobe Photoshop CC (Windows)</stEvt:softwareAgent>
</rdf:li>
<rdf:li rdf:parseType="Resource">
<stEvt:action>saved</stEvt:action>
<stEvt:instanceID>xmp.iid:9959982b-e54b-164b-a218-4be37085344e</stEvt:instanceID>
<stEvt:when>2019-01-07T16:54:57+08:00</stEvt:when>
<stEvt:softwareAgent>Adobe Photoshop CC (Windows)</stEvt:softwareAgent>
<stEvt:changed>/</stEvt:changed>
</rdf:li>
<rdf:li rdf:parseType="Resource">
<stEvt:action>saved</stEvt:action>
<stEvt:instanceID>xmp.iid:9fb6fd1e-361b-4049-9489-abc4f4a9d1e5</stEvt:instanceID>
<stEvt:when>2019-01-09T22:32:09+08:00</stEvt:when>
<stEvt:softwareAgent>Adobe Photoshop CC (Windows)</stEvt:softwareAgent>
<stEvt:changed>/</stEvt:changed>
</rdf:li>
</rdf:Seq>
</xmpMM:History>
<dc:format>image/png</dc:format>
<photoshop:ColorMode>3</photoshop:ColorMode>
<photoshop:ICCProfile>sRGB IEC61966-2.1</photoshop:ICCProfile>
<photoshop:DocumentAncestors>
<rdf:Bag>
<rdf:li>0000515995CA7B3EEA99CA1008D30D20</rdf:li>
......
<rdf:li>FFFE85056C819B86D6C9A5E49EF3CC62</rdf:li>
<rdf:li>adobe:docid:illustrator:8aec8ed6-e0f3-11e1-a6e9-e66e0b327ac6</rdf:li>
<rdf:li>adobe:docid:illustrator:d28d8ccc-5271-11da-97d1-d978cf0c6173</rdf:li>
<rdf:li>adobe:docid:imageready:0bc7c8fc-1a1f-11de-93e9-f280f72ccd9f</rdf:li>
......
<rdf:li>adobe:docid:imageready:ffd45743-5ea4-11dd-8260-982f52bef46c</rdf:li>
<rdf:li>adobe:docid:indd:1c93e5c6-93fd-11e2-80ac-be7d4d0aadda</rdf:li>
......
<rdf:li>adobe:docid:indd:eb4aa7f0-3966-11dd-8a5b-81e27e2e4a4a</rdf:li>
<rdf:li>adobe:docid:photoshop:00006ea1-3f80-11dd-b108-beee10738197</rdf:li>
......
<rdf:li>adobe:docid:photoshop:ffffcbc7-f713-11e1-8940-f3719f4820e9</rdf:li>
<rdf:li>bf885a4c0000001e8f306a3300000000</rdf:li>
<rdf:li>f27af84c0000001e8f306a3300000000</rdf:li>
<rdf:li>f851be95-c68b-11e0-0000-d2b0488bd6b9</rdf:li>
<rdf:li>pixvue.com:docid:pixvue:2e422072-1411-4538-858d-472158800521</rdf:li>
<rdf:li>uuid:0000b650-0000-8887-177e-042c00000000</rdf:li>
<rdf:li>uuid:00014C076E2AE311AA40CD912F9162CD</rdf:li>
......
<rdf:li>uuid:ff863551-0000-001e-8f32-5cd800000000</rdf:li>
<rdf:li>xmp.did:000083DC112068118DBBF39EAC3C9C14</rdf:li>
......
<rdf:li>xmp.did:fff4b386-160b-45d7-8975-29ceef56c88c</rdf:li>
<rdf:li>xmp.id:431719A10E2068118C14BA56883396C7</rdf:li>
</rdf:Bag>
</photoshop:DocumentAncestors>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.