{"id":2098,"date":"2022-03-23T15:53:28","date_gmt":"2022-03-23T07:53:28","guid":{"rendered":"https:\/\/aif.amtbbs.org\/?p=2098"},"modified":"2022-03-23T15:53:28","modified_gmt":"2022-03-23T07:53:28","slug":"%e4%bd%a0%e7%9c%9f%e7%9a%84%e4%ba%86%e8%a7%a3gif%e5%90%97%ef%bc%9f%e5%88%86%e6%9e%90gif%e6%96%87%e4%bb%b6%e5%92%8c%e4%b8%80%e4%ba%9b%e5%a5%87%e6%80%aa%e7%9a%84gif%e7%89%b9%e6%80%a7","status":"publish","type":"post","link":"https:\/\/aif.amtbbs.org\/index.php\/2022\/03\/23\/2098\/","title":{"rendered":"\u4f60\u771f\u7684\u4e86\u89e3gif\u5417\uff1f\u5206\u6790gif\u6587\u4ef6\u548c\u4e00\u4e9b\u5947\u602a\u7684gif\u7279\u6027"},"content":{"rendered":"<section data-mpa-powered-by=\"yiban.io\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2104\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-52.jpg\" width=\"1080\" height=\"720\" alt=\"\u56fe\u7247\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-52.jpg 1080w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-52-300x200.jpg 300w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-52-1024x683.jpg 1024w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-52-768x512.jpg 768w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/section>\n<section>\n<section>\u4f5c\u8005 | Darrien<\/section>\n<section>\u7ffb\u8bd1 | \u738b\u5f3a<\/section>\n<section>\u7b56\u5212 | \u8f9b\u6653\u4eae<\/section>\n<p>\u662f\u7684\uff0c\u6211\u6307\u7684\u662f\u4e3b\u6d41\u7684\uff0c\u904d\u5e03\u5168\u7f51\u7684\u666e\u901a gif\uff0c\u8c37\u6b4c\u65d7\u4e0b\u7684 Tenor \u6216 Facebook \u65d7\u4e0b\u7684 giphy \u8fd9\u6837\u7684\u7f51\u7ad9\u5230\u5904\u90fd\u662f\u8fd9\u79cd gif\u3002Gif \u662f\u6240\u6709\u4eba\u90fd\u559c\u6b22\u7684\uff0c\u7528\u6765\u5206\u4eab\u7b80\u77ed\u52a8\u753b\u7247\u65ad\u7684\u6587\u4ef6\u683c\u5f0f\u3002<\/p>\n<section>\u5927\u591a\u6570\u4eba\u773c\u4e2d\u7684 gif<\/section>\n<p>\u6b63\u5982\u5927\u591a\u6570\u4eba\u6240\u77e5\u9053\u7684\u90a3\u6837\uff0cgif \u662f\u4e00\u79cd\u52a8\u753b\u6587\u4ef6\u683c\u5f0f\u3002\u4f60\u53ef\u80fd\u770b\u8fc7 gif \u6587\u4ef6\u7684\u4fe1\u606f\uff0c\u89c9\u5f97\u8fd9\u4e9b\u6587\u4ef6\u53ef\u771f\u591f\u5927\u7684\u3002\u4e5f\u8bb8\u4f60\u770b\u4e86\u5b83\u4eec\u540e\u4f1a\u60f3\uff1a\u54c7\uff0c\u8fd9\u4e9b\u56fe\u7247\u7684\u6e05\u6670\u5ea6\u597d\u4f4e\u554a\u3002\u4f46\u4e0d\u7ba1\u600e\u6837\uff0c\u63d0\u5230 gif \u65f6\uff0c\u4f60\u5bf9\u5b83\u7684\u5370\u8c61\u5e94\u8be5\u5c31\u662f\u4e00\u79cd\u77ed\u5c0f\u7684\u52a8\u753b\u6587\u4ef6\u683c\u5f0f\u3002<\/p>\n<p>\u7136\u800c\uff0c\u8fd9\u79cd\u7528\u4f8b\u548c\u7f16\u5199 gif \u7684\u5f00\u53d1\u8005\u6240\u671f\u671b\u7684\u7528\u9014\u5927\u76f8\u5f84\u5ead\u3002\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u6df1\u5165\u4e86\u89e3 gif \u6587\u4ef6\u7684\u7ed3\u6784\uff0c\u5e76\u5728\u8fd9\u4e00\u8fc7\u7a0b\u4e2d\u8ba8\u8bba\u5b83\u7684\u4e00\u4e9b\u6709\u8da3\u7279\u6027\u3002<\/p>\n<p>\u8bf7\u6ce8\u610f\uff0c\u8fd9\u7bc7\u6587\u7ae0\u8981\u63a2\u7d22\u7684\u662f\u5982\u4f55\u7406\u89e3 gif \u683c\u5f0f\u8fd9\u4e00\u4e3b\u9898\uff0c\u5e76\u8003\u5bdf\u5b83\u7684\u4e00\u4e9b\u66f4\u6df1\u5965\u7684\u7279\u6027\u3002\u5982\u679c\u4f60\u60f3\u6df1\u5165\u5b66\u4e60\u5982\u4f55\u89e3\u6790 gif \u6587\u4ef6\uff0c\u6211\u63a8\u8350\u4ee5\u4e0b\u8fd9\u4e9b\u8d44\u6e90\u3002<\/p>\n<ul class=\"list-paddingleft-1\">\n<li>W3 \u89c4\u8303<\/li>\n<li>Matthew Flickinger\uff1agif \u91cc\u6709\u4ec0\u4e48\uff1f<\/li>\n<li>\u6211\u53d1\u73b0 ntfs.com \u7684\u8fd9\u4efd\u6307\u5357\u4e5f\u53ef\u4ee5\u5e2e\u52a9\u5165\u95e8<\/li>\n<\/ul>\n<p>\u5199\u6587\u7ae0\u7684\u65f6\u5019\u6211\u5b9e\u9645\u4e0a\u7528\u8fd9\u4e9b\u8d44\u6e90\u505a\u4e86\u4e00\u4e2a\u52c9\u5f3a\u7b26\u5408\u8981\u6c42\u7684 gif \u89e3\u6790\u5668\uff0c\u540d\u4e3a awful-gif\uff0c\u53ef\u4ee5\u89e3\u6790\u4e00\u4e9b gif\u3002\u6211\u4e0d\u5efa\u8bae\u5927\u5bb6\u4f7f\u7528\u5b83\u3002<\/p>\n<p>\u4e0b\u9762\u8fdb\u5165\u6b63\u9898\u3002<\/p>\n<section>gif \u7684\u5386\u53f2<\/section>\n<p>gif \u6587\u4ef6\u683c\u5f0f\u662f\u7531 Compuserve \u5728 1987 \u5e74\u521b\u5efa\u7684\u3002\u5728 1987 \u5e74\u7684\u65f6\u5019\uff0cgif \u8fd8\u662f\u4e00\u4e2a\u76f8\u5f53\u7d27\u51d1\u7684\u683c\u5f0f\uff01\u5b83\u4f7f\u7528\u4e86\u538b\u7f29\u65b9\u6cd5\uff0c\u800c\u4e14\u4e0d\u662f\u4e00\u822c\u7684\u538b\u7f29\u65b9\u6cd5\uff0c\u800c\u662f LZW \u538b\u7f29\u6280\u672f\u3002\u8bb8\u591a\u65e7\u7684\u6587\u4ef6\u683c\u5f0f\uff08\u5176\u4e2d\u6709\u4e9b\u662f Compuserve \u5236\u4f5c\u7684\uff09\u4f7f\u7528\u7684\u5219\u662f RLE\uff08Run Length Encoding\uff09\uff0c\u5728\u8bb8\u591a\u60c5\u51b5\u4e0b\u6548\u7387\u6ca1\u90a3\u4e48\u9ad8\u3002gif \u7684\u4e00\u4e2a\u91cd\u8981\u53d6\u80dc\u56e0\u7d20\u5c31\u662f\u5176\u826f\u597d\u7684\u538b\u7f29\u7387\u548c\u8272\u57df\uff08\u5168 256 \u8272\uff0c\u592a\u68d2\u4e86\uff01\uff09\u3002\uff08\u6ce8 1\uff09<\/p>\n<p>\u4e24\u5e74\u540e\uff0cgif \u6587\u4ef6\u683c\u5f0f\u52a0\u5165\u4e86\u8865\u5145\u5185\u5bb9\uff08gif89a\uff09\uff0c\u589e\u52a0\u4e86\u8bb8\u591a\u6211\u4eec\u4eca\u5929\u4f17\u6240\u5468\u77e5\u548c\u559c\u7231\u7684\u7279\u6027\u3002<\/p>\n<p>\u901a\u8fc7 gif89a \u89c4\u8303\uff0c\u6211\u4eec\u53ef\u4ee5\u5feb\u901f\u603b\u7ed3\u51fa gif89 \u4e0e gif87a \u652f\u6301\u7684\u6240\u6709\u7279\u6027\u7684\u533a\u522b\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"nginx\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attribute\">Appendix<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">A. Quick Reference Table.<\/span><\/code><code><span class=\"code-snippet_outer\">Block Name                  Required   Label       Ext.   Vers.<\/span><\/code><code><span class=\"code-snippet_outer\">Application Extension       Opt. (*)   0xFF (<span class=\"code-snippet__number\">255<\/span>)  <span class=\"code-snippet__literal\">yes<\/span>    89a<\/span><\/code><code><span class=\"code-snippet_outer\">Comment Extension           Opt. (*)   0xFE (<span class=\"code-snippet__number\">254<\/span>)  <span class=\"code-snippet__literal\">yes<\/span>    89a<\/span><\/code><code><span class=\"code-snippet_outer\">Global Color Table          Opt. (<span class=\"code-snippet__number\">1<\/span>)   <span class=\"code-snippet__literal\">none<\/span>        <span class=\"code-snippet__literal\">no<\/span>     87a<\/span><\/code><code><span class=\"code-snippet_outer\">Graphic Control Extension   Opt. (*)   0xF9 (<span class=\"code-snippet__number\">249<\/span>)  <span class=\"code-snippet__literal\">yes<\/span>    89a<\/span><\/code><code><span class=\"code-snippet_outer\">Header                      Req. (<span class=\"code-snippet__number\">1<\/span>)   <span class=\"code-snippet__literal\">none<\/span>        <span class=\"code-snippet__literal\">no<\/span>     N\/A<\/span><\/code><code><span class=\"code-snippet_outer\">Image Descriptor            Opt. (*)   0x2C (<span class=\"code-snippet__number\">044<\/span>)  <span class=\"code-snippet__literal\">no<\/span>     87a (89a)<\/span><\/code><code><span class=\"code-snippet_outer\">Local Color Table           Opt. (*)   <span class=\"code-snippet__literal\">none<\/span>        <span class=\"code-snippet__literal\">no<\/span>     87a<\/span><\/code><code><span class=\"code-snippet_outer\">Logical Screen Descriptor   Req. (<span class=\"code-snippet__number\">1<\/span>)   <span class=\"code-snippet__literal\">none<\/span>        <span class=\"code-snippet__literal\">no<\/span>     87a (89a)<\/span><\/code><code><span class=\"code-snippet_outer\">Plain Text Extension        Opt. (*)   0x01 (<span class=\"code-snippet__number\">001<\/span>)  <span class=\"code-snippet__literal\">yes<\/span>    89a<\/span><\/code><code><span class=\"code-snippet_outer\">Trailer                     Req. (<span class=\"code-snippet__number\">1<\/span>)   0x3B (<span class=\"code-snippet__number\">059<\/span>)  <span class=\"code-snippet__literal\">no<\/span>     87a<\/span><\/code><code><span class=\"code-snippet_outer\">Unlabeled Blocks<\/span><\/code><code><span class=\"code-snippet_outer\">Header                      Req. (<span class=\"code-snippet__number\">1<\/span>)   <span class=\"code-snippet__literal\">none<\/span>        <span class=\"code-snippet__literal\">no<\/span>     N\/A<\/span><\/code><code><span class=\"code-snippet_outer\">Logical Screen Descriptor   Req. (<span class=\"code-snippet__number\">1<\/span>)   <span class=\"code-snippet__literal\">none<\/span>        <span class=\"code-snippet__literal\">no<\/span>     87a (89a)<\/span><\/code><code><span class=\"code-snippet_outer\">Global Color Table          Opt. (<span class=\"code-snippet__number\">1<\/span>)   <span class=\"code-snippet__literal\">none<\/span>        <span class=\"code-snippet__literal\">no<\/span>     87a<\/span><\/code><code><span class=\"code-snippet_outer\">Local Color Table           Opt. (*)   <span class=\"code-snippet__literal\">none<\/span>        <span class=\"code-snippet__literal\">no<\/span>     87a<\/span><\/code><code><span class=\"code-snippet_outer\">Graphic-Rendering Blocks<\/span><\/code><code><span class=\"code-snippet_outer\">Plain Text Extension        Opt. (*)   0x01 (<span class=\"code-snippet__number\">001<\/span>)  <span class=\"code-snippet__literal\">yes<\/span>    89a<\/span><\/code><code><span class=\"code-snippet_outer\">Image Descriptor            Opt. (*)   0x2C (<span class=\"code-snippet__number\">044<\/span>)  <span class=\"code-snippet__literal\">no<\/span>     87a (89a)<\/span><\/code><code><span class=\"code-snippet_outer\">Control Blocks<\/span><\/code><code><span class=\"code-snippet_outer\">Graphic Control Extension   Opt. (*)   0xF9 (<span class=\"code-snippet__number\">249<\/span>)  <span class=\"code-snippet__literal\">yes<\/span>    89a<\/span><\/code><code><span class=\"code-snippet_outer\">Special Purpose Blocks<\/span><\/code><code><span class=\"code-snippet_outer\">Trailer                     Req. (<span class=\"code-snippet__number\">1<\/span>)   0x3B (<span class=\"code-snippet__number\">059<\/span>)  <span class=\"code-snippet__literal\">no<\/span>     87a<\/span><\/code><code><span class=\"code-snippet_outer\">Comment Extension           Opt. (*)   0xFE (<span class=\"code-snippet__number\">254<\/span>)  <span class=\"code-snippet__literal\">yes<\/span>    89a<\/span><\/code><code><span class=\"code-snippet_outer\">Application Extension       Opt. (*)   0xFF (<span class=\"code-snippet__number\">255<\/span>)  <span class=\"code-snippet__literal\">yes<\/span>    89a<\/span><\/code><code><span class=\"code-snippet_outer\">legend:           (<span class=\"code-snippet__number\">1<\/span>)   if present, at most one occurrence<\/span><\/code><code><span class=\"code-snippet_outer\">                  (*)   zero or more occurrences<\/span><\/code><code><span class=\"code-snippet_outer\">                  (+)   one or more occurrences<\/span><\/code><code><span class=\"code-snippet_outer\">\r\n<\/span><\/code><\/pre>\n<\/section>\n<p>\u5bf9\u4e8e\u6ca1\u6709\u8bfb\u8fc7\u6574\u4efd\u89c4\u8303\u7684\u4eba\u4eec\u6765\u8bf4\uff0c\u8fd9\u91cc\u9762\u7684\u5927\u90e8\u5206\u5185\u5bb9\u53ef\u8c13\u4e0d\u77e5\u6240\u4e91\uff0c\u6240\u4ee5\u8ba9\u6211\u4eec\u8ba8\u8bba\u4e00\u4e0b gif \u662f\u5982\u4f55\u7ec4\u5408\u5728\u4e00\u8d77\u7684\uff0c\u987a\u4fbf\u518d\u8c08\u8c08\u5b83\u7684\u4e00\u4e9b\u5947\u602a\u4e4b\u5904\u3002<\/p>\n<p>\u5728\u6211\u4eec\u5f00\u59cb\u4e4b\u524d\uff0c\u5148\u4ece\u89c4\u8303\u4e2d\u627e\u4e9b\u4e50\u8da3\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"python\"><code><span class=\"code-snippet_outer\">Appendix<\/span><\/code><code><span class=\"code-snippet_outer\">D. Conventions.<\/span><\/code><code><span class=\"code-snippet_outer\">\r\n<\/span><\/code><code><span class=\"code-snippet_outer\">Animation - The Graphics Interchange Format <span class=\"code-snippet__keyword\">is<\/span> <span class=\"code-snippet__keyword\">not<\/span> intended <span class=\"code-snippet__keyword\">as<\/span> a platform <span class=\"code-snippet__keyword\">for<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">animation, even though it can be done <span class=\"code-snippet__keyword\">in<\/span> a limited way.<\/span><\/code><code><span class=\"code-snippet_outer\">\r\n<\/span><\/code><\/pre>\n<\/section>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"7\" data-source-title=\"\">\n<section>\n<section>\u9644\u5f55D.\u00a0<\/section>\n<section>\u516c\u7ea6\u3002<\/section>\n<\/section>\n<\/blockquote>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"41\" data-source-title=\"\">\n<section>\n<section>\u52a8\u753b\u2014\u2014\u8fd9\u4e2a\u56fe\u5f62\u4ea4\u6362\u683c\u5f0f\u4e0d\u662f\u8981\u6210\u4e3a\u4e00\u4e2a\u52a8\u753b\u5e73\u53f0\uff0c\u5c3d\u7ba1\u5b83\u5728\u67d0\u79cd\u7a0b\u5ea6\u4e0a\u53ef\u4ee5\u505a\u5230\u8fd9\u4e00\u70b9\u3002<\/section>\n<\/section>\n<\/blockquote>\n<section>gif \u7684\u7ed3\u6784\u00a0<\/section>\n<p>\u4e0b\u9762\u6211\u4f1a\u7528\u4e00\u4e2a\u4f8b\u5b50\u6765\u5177\u4f53\u5206\u6790\u3002\u5982\u679c\u4f60\u60f3\u8ddf\u7740\u505a\uff0c\u4e0b\u8f7d\u5b83\u5373\u53ef\u3002\uff08\u6ce8 2\uff09<\/p>\n<section><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2105\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-53.jpg\" width=\"220\" height=\"261\" alt=\"\u56fe\u7247\" \/><\/section>\n<p>\u5982\u679c\u4f60\u5728\u5bb6\u91cc\u8ddf\u7740\u5b66\uff0c\u53ea\u9700\u8981\u4e00\u53f0\u5b89\u88c5\u6709 hexdump \u5de5\u5177\u7684\u673a\u5668\u5373\u53ef\u3002\u6211\u8981\u7528\u7684\u662f xxd\uff0c\u5b83\u9884\u88c5\u5728\u5927\u591a\u6570 unix \u7cfb\u7edf\uff08Linux\u3001macOS\uff09\u4e0a\uff0c\u6216\u8005\u53ef\u4ee5\u901a\u8fc7 vim-common \u5305\u5b89\u88c5\u3002<\/p>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"4\" data-source-title=\"\">\n<section>\n<section>gif \u5934<\/section>\n<\/section>\n<\/blockquote>\n<p>\u6bcf\u4e2a gif \u90fd\u4ee5\u4e00\u4e2a\u5934\u5f00\u59cb\uff0c\u5176\u4e2d\u7684 magic \u4f4d\u6807\u5fd7\u7740\u5b83\u662f\u4ec0\u4e48\u7c7b\u578b\u7684 gif\uff0c\u8fd8\u6709\u4e00\u70b9\u989d\u5916\u7684\u4fe1\u606f\uff0c\u63d0\u4f9b\u5173\u4e8e\u56fe\u50cf\u7684\u57fa\u672c\u7ec6\u8282\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"makefile\"><code><span class=\"code-snippet_outer\">\ud83d\udf1b xxd Sunflower_as_gif_websafe_89a.gif | head -1 <span class=\"code-snippet__comment\"># and some arrows<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__section\">00000000: -&gt; 4749 4638 3961 &lt;- dc00 0501 f700 0002 0102  gif89a..........<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">\r\n<\/span><\/code><\/pre>\n<\/section>\n<p>\u7528 xxd \u53ef\u4ee5\u8f7b\u677e\u628a gif \u5934\u4fe1\u606f\u89e3\u7801\u4e3a ascii\uff08\u5982\u679c\u5b83\u6709\u610f\u4e49\u7684\u8bdd\uff09\u3002\u770b\u770b\u4e0a\u9762\u7684\u5185\u5bb9\u5199\u7740\uff0cgif89a\uff01\u8fd9\u662f\u4e00\u4e2a\u7ecf\u8fc7\u8ba4\u8bc1\u7684\u6709\u6548 gif!<\/p>\n<p>\u6bcf\u4e2a\u5b57\u6bcd\u90fd\u662f\u4e00\u4e2a\u5b57\u8282\uff0c\u6240\u4ee5\u6211\u4eec\u5728\u8fd9\u91cc\u8981\u627e\u7684 magic \u5b57\u8282\u662f\uff1a0x47\u3001\uff1b0x49\u30010x46\u30010x38\u30010x39\u30010x61\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u6700\u540e\u4e09\u4e2a\u5b57\u8282\u53ef\u80fd\u662f\uff1a0x38\u30010x37\u30010x61\uff0c\u5982\u679c\u53ea\u652f\u6301 gif87a \u6587\u4ef6\u683c\u5f0f\u4f1a\u662f\u8fd9\u6837\u3002\u6211\u4eec\u4e3b\u8981\u7814\u7a76 gif89\uff0c\u8001\u7248\u672c\u7684\u683c\u5f0f\u5c31\u4e00\u5e26\u800c\u8fc7\u4e86\u3002<\/p>\n<p>\u6b64\u5916 gif \u5934\u91cc\u9762\u5c31\u6ca1\u6709\u4ec0\u4e48\u6709\u8da3\u7684\u4e1c\u897f\u4e86\uff0c\u56e0\u4e3a\u5b83\u53ea\u662f\u9759\u6001\u6587\u672c\uff0c\u6240\u4ee5\u6211\u4eec\u7ee7\u7eed\u5f80\u524d\u8d70\u3002<\/p>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"21\" data-source-title=\"\">\n<section>\n<section>\u5148\u7b49\u4e00\u4e0b\u95ee\u4e2a\u95ee\u9898\uff1a\u8c01\u4f1a\u63a5\u53d7 gif87a \u5462\uff1f<\/section>\n<\/section>\n<\/blockquote>\n<p>\u5728\u7814\u7a76 gif \u65f6\uff0c\u6211\u60f3\u770b\u770b\u4e3b\u8981\u7684 gif \u6258\u7ba1\u4f9b\u5e94\u5546\u662f\u5426\u4f1a\u63a5\u53d7\u548c\u4fdd\u7559 gif87a \u89c4\u8303\u7684\u683c\u5f0f\u3002\u5b83\u4eec\u80fd\u6b63\u5e38\u4f7f\u7528\u5417\uff0c\u8fd8\u662f\u8bf4\u53ea\u80fd\u62a5\u9519\uff1f<\/p>\n<p>\u8fd9\u662f\u6211\u4eec\u4e4b\u524d\u770b\u5230\u7684\u5411\u65e5\u8475\u7684 gif87a \u7248\u672c\u3002\u8fd9\u4e2a\u7248\u672c\u53ea\u7528\u5728\u8fd9\u91cc\u3002<\/p>\n<section><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2106\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-54.jpg\" width=\"250\" height=\"297\" alt=\"\u56fe\u7247\" \/><\/section>\n<p>\u6211\u4eec\u6765\u628a\u56fe\u50cf\u4e0a\u4f20\u5230 4 \u5bb6\u5934\u90e8 gif \u6258\u7ba1\u4f9b\u5e94\u5546\uff1a<\/p>\n<ul class=\"list-paddingleft-1\">\n<li>tenor<\/li>\n<li>giphy<\/li>\n<li>imgur<\/li>\n<li>gfycat<\/li>\n<\/ul>\n<p>\u6211\u4eec\u5f00\u59cb\u7684\u65f6\u5019 gif \u5934\u662f\u8fd9\u6837\uff1a<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"makefile\"><code><span class=\"code-snippet_outer\">\ud83d\udf1b xxd Sunflower_as_gif_websafe_gif87a.gif | head -1<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__section\">00000000:\u00a04749\u00a04638\u00a03761\u00a0fa00\u00a02901\u00a0f500\u00a000ff\u00a0cc33\u00a0\u00a0gif87a..)......3<\/span><\/span><\/code><\/pre>\n<\/section>\n<p>\u4ee5\u4e0b\u662f\u91cd\u65b0\u4e0b\u8f7d\u6211\u521a\u4e0a\u4f20\u7684\u56fe\u7247\u540e\u7684\u7ed3\u679c\u3002<\/p>\n<p>Tenor \u91cd\u7f16\u7801\u4e3a gif89a\uff1a<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"makefile\"><code><span class=\"code-snippet_outer\">\ud83d\udf1b Downloads xxd tenor.gif | head -1<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__section\">00000000:\u00a04749\u00a04638\u00a03961\u00a0a401\u00a0f201\u00a0f700\u00a00006\u00a00406\u00a0\u00a0gif89a..........<\/span><\/span><\/code><\/pre>\n<\/section>\n<p>giphy \u91cd\u7f16\u7801\u4e3a gif89a\uff1a<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"makefile\"><code><span class=\"code-snippet_outer\">\ud83d\udf1b Downloads xxd giphy.gif | head -1<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__section\">00000000:\u00a04749\u00a04638\u00a03961\u00a0fa00\u00a02901\u00a0f525\u00a00000\u00a00000\u00a0\u00a0gif89a..)..%....<\/span><\/span><\/code><\/pre>\n<\/section>\n<p>\u5176\u5b9e\u8fd9\u6709\u70b9\u5ffd\u60a0\u4eba\uff0cgiphy \u53ea\u63a5\u53d7\u52a8\u753b\u5f62\u5f0f\u7684 gif\uff0c\u6240\u4ee5\u6211\u4eec\u5fc5\u987b\u70b9\u51fb\u7f16\u8f91\u6309\u94ae\uff08\u663e\u793a\u5e27\u7f16\u8f91\u5668\uff09\uff0c\u7136\u540e\u70b9\u51fb\u5b8c\u6210\u624d\u884c\u3002gif87a \u89c4\u8303\u4e2d\u5141\u8bb8\u5b58\u50a8\u591a\u5f20\u56fe\u7247\uff0c\u4f46\u5b83\u4eec\u4e0d\u80fd\u6709\u5ef6\u8fdf\uff08\u56e0\u6b64\u6ca1\u6709\u52a8\u753b\uff0c\u89c1\u6ce8 3\uff09\u3002<\/p>\n<p>imgur \u4fdd\u7559\u4e86\u539f\u59cb\u6587\u4ef6\uff01\uff01\uff01<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"makefile\"><code><span class=\"code-snippet_outer\">\ud83d\udf1b Downloads xxd aUxm3NN.gif | head -1<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__section\">00000000:\u00a04749\u00a04638\u00a03761\u00a0fa00\u00a02901\u00a0f500\u00a000ff\u00a0cc33\u00a0\u00a0gif87a..)......3<\/span><\/span><\/code><\/pre>\n<\/section>\n<p>\u81f3\u4e8e gfycat\uff0c\u5b83\u4e00\u76f4\u5361\u5728\u6700\u540e\u7684\u201c\u7f16\u7801\u201c\u9636\u6bb5\u6574\u6574 20 \u5206\u949f\u3002\u5e0c\u671b\u6211\u6ca1\u6709\u5728\u5468\u672b\u8ba9\u4ed6\u4eec\u7684\u4e00\u4f4d\u53ef\u601c\u7684\u5de5\u7a0b\u5e08\u770b\u5230\u4ec0\u4e48\u8b66\u62a5\u3002<\/p>\n<p>\u4ee5\u4e0a\u7b80\u77ed\u5206\u6790\u8868\u660e\uff0c\u7531\u4e16\u754c\u4e0a\u6700\u5927\u7684\u4e24\u5bb6\u79d1\u6280\u516c\u53f8\u6240\u6709\u7684\u4e24\u5bb6\u6700\u5927\u7684\u6258\u7ba1\u4f9b\u5e94\u5546\u5e76\u4e0d\u5c0a\u91cd\u6211\u7684\u65e7 gif \u6587\u4ef6\uff0c\u800c\u662f\u5b8c\u5168\u91cd\u5199\u4e86\u5b83\u3002\u4e8b\u5b9e\u4e0a\uff0c\u5bf9\u4e8e giphy \u8fd9\u5bb6\u516c\u53f8\u6765\u8bf4\uff0c\u5b83\u4f3c\u4e4e\u53ea\u5c0a\u91cd\u4e00\u79cd gif&#8230;&#8230;<\/p>\n<p>\u603b\u4e4b\u56de\u5230\u63a2\u7d22\u6587\u4ef6\u683c\u5f0f\u7684\u8bdd\u9898\u4e0a\u3002<\/p>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"7\" data-source-title=\"\">\n<section>\n<section>\u903b\u8f91\u5c4f\u5e55\u63cf\u8ff0\u7b26<\/section>\n<\/section>\n<\/blockquote>\n<p>\u90a3\u4e48\u4f60\u7684\u56fe\u50cf\u662f\u5982\u4f55\u663e\u793a\u6210\u67d0\u4e2a\u5206\u8fa8\u7387\u7684\u5462\uff1f\u5047\u8bbe\u6211\u4eec\u5728 macOS \u7684 Preview \u4e2d\u4f7f\u7528\u201cget info\u201c\u7279\u6027\uff0c\u5b83\u662f\u600e\u4e48\u77e5\u9053\u8fd9\u5f20\u56fe\u7247\u662f 220&#215;261 \u7684\uff1f<\/p>\n<section><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2107\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-51.png\" width=\"377\" height=\"969\" alt=\"\u56fe\u7247\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-51.png 377w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-51-117x300.png 117w\" sizes=\"auto, (max-width: 377px) 100vw, 377px\" \/><\/section>\n<p>\u4fe1\u4e0d\u4fe1\u7531\u4f60\uff0c\u8fd9\u662f\u5728\u6587\u4ef6\u683c\u5f0f\u4e2d\u5185\u7f6e\u7684\uff01\uff08\u6ce8 4\uff09<\/p>\n<p>\u5b57\u8282 0x6-0xA \u5c31\u662f\u8fd9\u90e8\u5206\u4fe1\u606f\uff0c\u53e6\u5916\u8fd8\u52a0\u4e86\u70b9\u5185\u5bb9\u3002\u5b57\u8282 0x6 \u548c 0x8 \u6307\u7684\u662f\u957f\u5ea6\u548c\u5bbd\u5ea6\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"makefile\"><code><span class=\"code-snippet_outer\">\ud83d\udf1b xxd Sunflower_as_gif_websafe_89a.gif | head -1 <span class=\"code-snippet__comment\"># and some arrows<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__section\">00000000:\u00a0\u00a04749\u00a04638\u00a03961\u00a0-&gt;\u00a0dc00\u00a00501\u00a0&lt;-\u00a0f700\u00a00002\u00a00102\u00a0\u00a0gif89a..........<\/span><\/span><\/code><\/pre>\n<\/section>\n<p>\u6bcf\u4e2a\u7ef4\u5ea6\u6709\u4e24\u4e2a\u5b57\u8282\u6765\u6307\u5b9a\u5927\u5c0f\u3002\u540c\u6837\u4e00\u5b9a\u8981\u8bb0\u4f4f\uff0cgif \u6587\u4ef6\u683c\u5f0f\u4e2d\u7684\u6240\u6709\u5b57\u8282\u90fd\u88ab\u6307\u5b9a\u4e3a\u5c0f endian\uff08\u6ce8 5\uff09\u3002<\/p>\n<p>\u9996\u5148\u662f\u5bbd\u5ea6\uff0c\u662f 0x00dc\uff08\u4ece dc00 \u91cd\u65b0\u6392\u5e8f\uff09=&gt; 220\uff08\u5341\u8fdb\u5236\uff09\u3002<\/p>\n<p>\u7136\u540e\u662f\u957f\u5ea6\uff0c\u662f 0x0105\uff08\u4ece 0501 \u91cd\u65b0\u6392\u5e8f\uff09=&gt; 261\uff08\u5341\u8fdb\u5236\uff09\u3002<\/p>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"24\" data-source-title=\"\">\n<section>\n<section>\u6162\u7740\uff0c\u8fd9\u662f\u5426\u610f\u5473\u7740\u6211\u4eec\u7684 gif \u6709\u4e00\u4e2a\u5206\u8fa8\u7387\u9650\u5236\uff1f<\/section>\n<\/section>\n<\/blockquote>\n<p>\u8fd9\u5c31\u5bf9\u4e86\uff01\u56e0\u4e3a\u6bcf\u4e2a\u4f4d\u7f6e\u53ea\u6709\u4e24\u4e2a\u5b57\u8282\uff0c\u6240\u4ee5\u5bbd\u5ea6\u6216\u957f\u5ea6\u90fd\u4e0d\u80fd\u5927\u4e8e 65535\u3002\u6211\u4eec\u53ef\u4ee5\u5c1d\u8bd5\u5728 gimp \u4e2d\u5236\u4f5c\u4e00\u4e2a 1&#215;65536 \u7684\u65b0 gif \u6765\u9a8c\u8bc1\u8fd9\u4e00\u70b9\u3002<\/p>\n<section><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2108\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-52.png\" width=\"402\" height=\"195\" alt=\"\u56fe\u7247\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-52.png 402w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-52-300x146.png 300w\" sizes=\"auto, (max-width: 402px) 100vw, 402px\" \/><\/section>\n<p>\u5176\u4ed6\u6587\u4ef6\u683c\u5f0f\u5728\u8fd9\u65b9\u9762\u4e5f\u5dee\u4e0d\u591a\u3002\u5982\u679c\u4f60\u60f3\u4e0b\u8f7d\u7406\u8bba\u4e0a\u6700\u5bbd\u7684 png\uff0c\u53ef\u4ee5\u70b9\u8fd9\u91cc\u3002\u8fd9\u4e2a\u6587\u4ef6\u5f88\u5c0f\uff0c\u4f46\u6253\u5f00\u5b83\u7684\u65f6\u5019\u4f60\u7684\u56fe\u50cf\u6d4f\u89c8\u5668\u53ef\u80fd\u4f1a\u5d29\u6e83\u3002Firefox \u6d4f\u89c8\u5668\u5f88\u96be\u6253\u5f00\u5b83\uff0c\u5e76\u62a5\u544a\u4e86\u4e00\u4e2a\u9519\u8bef\uff0c\u5c3d\u7ba1\u5b83\u662f\u7b26\u5408\u89c4\u8303\u7684\u3002<\/p>\n<section><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2109\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-53.png\" width=\"808\" height=\"46\" alt=\"\u56fe\u7247\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-53.png 808w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-53-300x17.png 300w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-53-768x44.png 768w\" sizes=\"auto, (max-width: 808px) 100vw, 808px\" \/><\/section>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"10\" data-source-title=\"\">\n<section>\n<section>\u56de\u5230\u903b\u8f91\u5c4f\u5e55\u63cf\u8ff0\u7b26\u4e0a<\/section>\n<\/section>\n<\/blockquote>\n<p>\u4e0d\u8fc7\u903b\u8f91\u5c4f\u5e55\u63cf\u8ff0\u7b26\u8fd8\u6ca1\u8bf4\u5b8c\uff0c\u63a5\u4e0b\u6765\u662f\u4e00\u7ec4\u6253\u5305\u7684\u5b57\u6bb5\u3002\u7528\u89c4\u8303\u4e2d\u7684\u56fe\u8868\u89e3\u91ca\u6bd4\u8f83\u5bb9\u6613\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"properties\"><code><span class=\"code-snippet_outer\">     <span class=\"code-snippet__meta\">&lt;Packed<\/span> <span class=\"code-snippet__string\">Fields&gt;  =      Global Color Table Flag       1 Bit<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">                             <span class=\"code-snippet__attr\">Color<\/span> <span class=\"code-snippet__string\">Resolution              3 Bits<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">                             <span class=\"code-snippet__attr\">Sort<\/span> <span class=\"code-snippet__string\">Flag                     1 Bit<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Size\u00a0of\u00a0Global\u00a0Color\u00a0Table\u00a0\u00a0\u00a0\u00a03\u00a0Bits<\/span><\/span><\/code><\/pre>\n<\/section>\n<p>\u8fd9\u91cc\u6709\u5173\u4e8e\u5168\u5c40\u989c\u8272\u8868\uff08Global Color Table\uff09\u7684\u4fe1\u606f\uff0c\u5982\u679c\u8bbe\u7f6e\u4e86\u5168\u5c40\u989c\u8272\u8868\u4f4d\uff0c\u5b83\u5c06\u51fa\u73b0\u5728\u903b\u8f91\u5c4f\u5e55\u63cf\u8ff0\u7b26\u4e4b\u540e\u3002<\/p>\n<p>\u989c\u8272\u5206\u8fa8\u7387\uff08Color Resolution\uff09\u51b3\u5b9a\u4e86\u5168\u5c40\u989c\u8272\u8868\u4e2d\u6bcf\u79cd\u989c\u8272\u6709\u591a\u5c11\u4e2a\u5b57\u8282\u3002<\/p>\n<p>\u6392\u5e8f\u6807\u5fd7\uff08Sort Flag\uff09\u4f1a\u544a\u8bc9\u89e3\u7801\u5668\u6392\u5728\u524d\u9762\u7684\u989c\u8272\u66f4\u91cd\u8981\uff0c\u5b83\u4f1a\u4ee5\u6709\u7528\u7684\u7a0b\u5ea6\u4ece\u9ad8\u5230\u4f4e\u6392\u5e8f\u989c\u8272\u3002<\/p>\n<p>\u800c\u5168\u5c40\u989c\u8272\u8868\u7684\u5927\u5c0f\u662f\u8bf4\uff0c\u989c\u8272\u8868\u6709\u591a\u5927\u3002<\/p>\n<p>\u5728\u6211\u4eec\u5411\u65e5\u8475\u56fe\u7247\u7684 0xA \u5b57\u8282\u4e2d\uff0c\u6211\u4eec\u6709 0xF7 \u7684\u7ed3\u679c<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"makefile\"><code><span class=\"code-snippet_outer\">\ud83d\udf1b xxd Sunflower_as_gif_websafe_89a.gif | head -1<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__section\">00000000:\u00a04749\u00a04638\u00a03961\u00a0dc00\u00a00501\u00a0-&gt;\u00a0f7\u00a0&lt;-\u00a000\u00a00002\u00a00102\u00a0\u00a0gif89a..........<\/span><\/span><\/code><\/pre>\n<\/section>\n<p>\u6216\u8005\u5728\u4e8c\u8fdb\u5236\u4e2d\u5c31\u662f\uff1a1111 0111<\/p>\n<p>\u8fd9\u610f\u5473\u7740\u6211\u4eec\u7684 gif \u57fa\u672c\u6ee1\u8f7d\uff0c\u9664\u4e86 GCT \u6ca1\u6709\u6392\u5e8f\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"sql\"><code><span class=\"code-snippet_outer\">                             \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500GCT not sorted<\/span><\/code><code><span class=\"code-snippet_outer\">                             \u25bc          by importance<\/span><\/code><code><span class=\"code-snippet_outer\">                        1111 0111<\/span><\/code><code><span class=\"code-snippet_outer\">                        \u25b2\u2500\u2500\u2500  \u2500\u2500\u2500<\/span><\/code><code><span class=\"code-snippet_outer\">      GCT <span class=\"code-snippet__keyword\">set<\/span>\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \u25b2    \u25b2<\/span><\/code><code><span class=\"code-snippet_outer\">                          \u2502    \u2502<\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__number\">3<\/span> <span class=\"code-snippet__keyword\">bytes<\/span> per           \u2502    \u2514\u2500\u2500\u2500\u2500\u2500GCT <span class=\"code-snippet__keyword\">is<\/span> <span class=\"code-snippet__number\">768<\/span> <span class=\"code-snippet__keyword\">bytes<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    color    \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518          (<span class=\"code-snippet__keyword\">max<\/span> <span class=\"code-snippet__keyword\">size<\/span>)<\/span><\/code><code><span class=\"code-snippet_outer\">(<span class=\"code-snippet__keyword\">max<\/span>\u00a0resolution)<\/span><\/code><\/pre>\n<\/section>\n<p>\u5168\u5c40\u989c\u8272\u8868\u4fdd\u5b58\u4e86\u6bcf\u4e2a\u5b57\u8282\u90e8\u5206\u6240\u4f7f\u7528\u7684\u989c\u8272\u3002\u5b83\u4eec\u662f 0-255 \u7684\u6807\u51c6 RGB \u503c\uff0c\u4f60\u53ef\u4ee5\u5728\u4efb\u4f55\u73b0\u4ee3 RGB \u53d6\u8272\u5668\u91cc\u4f7f\u7528\u8fd9\u4e9b\u6570\u503c\u3002<\/p>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"17\" data-source-title=\"\">\n<section>\n<section>\u7b49\u4e00\u4e0b\uff0c\u90a3\u4e2a\u5168\u5c40\u989c\u8272\u8868\u662f\u53ef\u9009\u7684\u5417\uff1f<\/section>\n<\/section>\n<\/blockquote>\n<p>\u4f60\u53ef\u80fd\u5df2\u7ecf\u6ce8\u610f\u5230 0xA \u5b57\u8282\u7684\u7b2c\u4e00\u4f4d\u8bf4 GCT \u53ef\u4ee5\u662f\u53ef\u9009\u7684\u3002\u8fd9\u7684\u786e\u5f88\u6709\u8da3\u3002\u6211\u4eec\u5982\u4f55\u5728\u6ca1\u6709\u6307\u5b9a\u5b83\u9700\u8981\u4ec0\u4e48\u989c\u8272\u7684\u60c5\u51b5\u4e0b\u6e32\u67d3\u56fe\u50cf\u5462\uff1f<\/p>\n<p>\u6839\u636e\u4e0b\u9762\u7684\u89c4\u8303\uff1a<\/p>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"110\" data-source-title=\"\">\n<section>\n<section>\u989c\u8272\u8868\u2014\u2014\u5168\u5c40\u989c\u8272\u8868\u548c\u5c40\u90e8\u989c\u8272\u8868\u90fd\u662f\u53ef\u9009\u7684\uff1b\u5982\u679c\u5b58\u5728\u5168\u5c40\u989c\u8272\u8868\uff0c\u5b83\u5c06\u7528\u4e8e\u6570\u636e\u6d41\u4e2d\u6ca1\u6709\u7ed9\u51fa\u5c40\u90e8\u989c\u8272\u8868\u7684\u6240\u6709\u56fe\u50cf\uff1b\u5982\u679c\u5b58\u5728\u5c40\u90e8\u989c\u8272\u8868\uff0c\u5b83\u5c06\u8986\u76d6\u5168\u5c40\u989c\u8272\u8868\u3002\u7136\u800c\uff0c\u5982\u679c\u4e24\u4e2a\u989c\u8272\u8868\u90fd\u4e0d\u5b58\u5728\uff0c\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u81ea\u7531\u5730\u4f7f\u7528\u4e00\u4e2a\u4efb\u610f\u7684\u989c\u8272\u8868\u3002<\/section>\n<\/section>\n<\/blockquote>\n<p>\u5982\u679c\u6211\u4eec\u62ff\u8d70\u4e00\u5f20\u56fe\u50cf\u7684\u5168\u5c40\u989c\u8272\u8868\uff0c\u73b0\u4ee3\u6e32\u67d3\u5668\u4f1a\u5bf9\u6211\u4eec\u7684\u56fe\u50cf\u505a\u4ec0\u4e48\u5462\uff1f\u6211\u6562\u80af\u5b9a\u4f1a\u6709\u4e00\u4e9b\u60ca\u4eba\u7684\u4e8b\u60c5\u53d1\u751f\u3002<\/p>\n<p>\u6211\u4eec\u7684\u56fe\u50cf\u6307\u5b9a\u7684\u989c\u8272\u8868\u5927\u5c0f\u4e3a 768 \u5b57\u8282\u3002\u5b83\u4ece 0xA \u5b57\u8282\u5f00\u59cb&#8230;&#8230; \u5047\u8bbe\u6211\u4eec\u50cf\u8fd9\u6837\u628a 0xA \u5b57\u8282\u7684\u6700\u6709\u610f\u4e49\u7684\u6bd4\u7279\u6e05\u96f6\u3002<\/p>\n<p>\u7136\u540e\u5220\u9664\u5230\u7b2c 789 \u5b57\u8282\uff08\u72ec\u5360\uff09\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"makefile\"><code><span class=\"code-snippet_outer\">\ud83d\udf1b xxd Sunflower_as_gif_89a-no-gct.gif | head -1<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__section\">00000000:\u00a04749\u00a04638\u00a03961\u00a0dc00\u00a00501\u00a0007f\u00a08121\u00a0f904\u00a0\u00a0gif89a.......!..<\/span><\/span><\/code><\/pre>\n<\/section>\n<p>\u73b0\u5728\u7b2c\u4e00\u884c\u662f\u4e0a\u9762\u8fd9\u6837\u7ed3\u675f\u7684\uff0c\u8fd9\u4ecd\u7136\u662f\u4e00\u4e2a\u5b8c\u5168\u6709\u6548\u7684 gif\u3002<\/p>\n<p>\u7b80\u76f4\u4e86\uff01\u5728\u5199\u8fd9\u7bc7\u6587\u7ae0\u7684\u65f6\u5019\uff0c\u5b83\u5c31\u53ea\u663e\u793a\u4e00\u4e2a\u5b8c\u7f8e\u7684\u9ed1\u8272\u65b9\u5757\u3002\u5728\u6211\u8bd5\u8fc7\u7684\u6bcf\u4e00\u4e2a\u6e32\u67d3\u5668\u4e2d\u90fd\u662f\u8fd9\u6837\u7684\u60c5\u51b5\u3002Gimp\u3001Chrome\u3001Firefox\u3001Preview\u3001gifiddle\uff0c\u968f\u4fbf\u54ea\u4e2a\u90fd\u4e00\u6837\u3002<\/p>\n<p>\u603b\u4e4b\u56de\u5230\u903b\u8f91\u5c4f\u5e55\u63cf\u8ff0\u7b26\u4e0a\u3002<\/p>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"10\" data-source-title=\"\">\n<section>\n<section>\u7ee7\u7eed\u8c08\u903b\u8f91\u5c4f\u5e55\u63cf\u8ff0\u7b26<\/section>\n<\/section>\n<\/blockquote>\n<p>\u5728\u63cf\u8ff0\u5168\u5c40\u989c\u8272\u8868\u7684\u5b57\u8282\u4e4b\u540e\uff0c\u6709\u4e24\u4e2a\u63cf\u8ff0\u5c4f\u5e55\u63cf\u8ff0\u7b26\u7684\u672b\u7aef\u5b57\u8282\u3002<\/p>\n<p>\u5b57\u8282 B \u662f\u80cc\u666f\u989c\u8272\uff0c\u6307\u7684\u662f\u5168\u5c40\u989c\u8272\u8868\u7684\u7d22\u5f15\uff1b\u5b57\u8282 C \u662f\u50cf\u7d20\u957f\u5bbd\u6bd4\uff0c\u63cf\u8ff0\u4e86\u50cf\u7d20\u7684\u65b9\u6b63\u5ea6\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"properties\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">\ud83d\udf1b<\/span> <span class=\"code-snippet__string\">xxd Sunflower_as_gif_websafe_89a.gif | head -1<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">00000000<\/span>: <span class=\"code-snippet__string\">4749 4638 3961 dc00 0501 f700 0002 0102  gif89a..........<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">                                     <span class=\"code-snippet__meta\">^<\/span>  <span class=\"code-snippet__string\">^<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">                                     <span class=\"code-snippet__meta\">|<\/span>  <span class=\"code-snippet__string\">|<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">Background<\/span> <span class=\"code-snippet__string\">color is color in index 0 of |<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">GCT<\/span>                                     <span class=\"code-snippet__string\">|<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">                                        <span class=\"code-snippet__attr\">Pixel<\/span> <span class=\"code-snippet__string\">aspect ratio is 0:0 or host<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0pixel\u00a0aspect\u00a0ratio.<\/span><\/span><\/code><\/pre>\n<\/section>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"13\" data-source-title=\"\">\n<section>\n<section>\u7b49\u4e00\u4e0b\uff0c\u50cf\u7d20\u957f\u5bbd\u6bd4\u662f\u4ec0\u4e48\uff1f<\/section>\n<\/section>\n<\/blockquote>\n<p>\u50cf\u7d20\u5e76\u4e0d\u603b\u662f\u6b63\u65b9\u5f62\u7684\uff01\u5b57\u8282\u4e5f\u4e0d\u603b\u662f 8 \u4f4d\uff0c\u4f46\u8fd9\u4e00\u70b9\u5c31\u4e0d\u591a\u8bf4\u4e86\u3002<\/p>\n<p>gif \u548c\u5176\u4ed6\u4e00\u4e9b\u6700\u6d41\u884c\u7684\u73b0\u4ee3\u56fe\u50cf\u683c\u5f0f\u90fd\u652f\u6301\u975e\u6b63\u65b9\u5f62\u50cf\u7d20\u3002<\/p>\n<p>\u6211\u60f3\u77e5\u9053\u6700\u6d41\u884c\u7684 gif \u6e32\u67d3\u5668\u5728\u6e32\u67d3\u975e\u65b9\u5f62\u50cf\u7d20\u65f6\u517c\u5bb9\u6027\u5982\u4f55\u3002\u6211\u4eec\u5728 Firefox \u548c Chrome \u4e2d\u505a\u4e00\u4e2a\u6d41\u884c\u7684\u6d4b\u8bd5\uff0c\u770b\u770b\u5b83\u4eec\u770b\u8d77\u6765\u5982\u4f55\uff1ahttp:\/\/frs.badcoffee.info\/PAR_AcidTest\/<\/p>\n<section><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2110\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-54.png\" width=\"1080\" height=\"554\" alt=\"\u56fe\u7247\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-54.png 1080w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-54-300x154.png 300w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-54-1024x525.png 1024w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-54-768x394.png 768w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/section>\n<p>\u4e0a\u9762\u4f9d\u6b21\u662f\uff1ajpg\u3001png \u548c gif\u3002\u800c Firefox\u3001Chrome \u548c Preview \u90fd\u5ffd\u7565\u4e86\u957f\u5bbd\u6bd4\u3002<\/p>\n<p>\u4e0d\u5e78\u7684\u662f\uff0c\u8fd9\u4e00\u7279\u6027\u666e\u904d\u4e0d\u88ab\u652f\u6301\uff0c\u800c\u4e14\u76ee\u524d\u5728 Firefox \u4e2d\u6709\u4e00\u4e2a 16 \u5e74\u7684\u8001 bug\uff1ahttps:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=333377<\/p>\n<p>\u751a\u81f3 gifiddle \u8fd9\u4e2a\u6211\u80fd\u627e\u5230\u7684\u517c\u5bb9\u6027\u6700\u597d\u7684 gif \u6d4f\u89c8\u5668\u4e5f\u4e0d\u652f\u6301\u975e\u65b9\u5f62\u50cf\u7d20\uff1ahttps:\/\/github.com\/ata4\/gifiddle\/issues\/1<\/p>\n<p>\u5982\u679c\u4f60\u771f\u7684\u60f3\u663e\u793a\u975e\u65b9\u5f62\u50cf\u7d20\uff0c\u53ef\u4ee5\u7528\u8c03\u6574\u8fc7\u7684 gimp \u6765\u505a\u3002\u6b64\u5916\uff0cgrafx2 \u663e\u7136\u53ef\u4ee5\u5904\u7406\u975e\u5e38\u7279\u5b9a\u7684\u5947\u602a\u50cf\u7d20\u5206\u8fa8\u7387\u3002\u4e0d\u8fc7\u6211\u8fd8\u6ca1\u6709\u4eb2\u81ea\u6d4b\u8bd5\u8fc7\u3002<\/p>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"7\" data-source-title=\"\">\n<section>\n<section>\u56de\u5230\u5168\u5c40\u989c\u8272\u8868<\/section>\n<\/section>\n<\/blockquote>\n<p>\u5168\u5c40\u989c\u8272\u8868\uff08GCT\uff09\u663e\u7136\u662f gif \u6700\u65e0\u804a\u7684\u90e8\u5206\u3002\u8fd9\u91cc\u771f\u7684\u6ca1\u6709\u4ec0\u4e48\u503c\u5f97\u8c08\u8bba\u7684\u4e1c\u897f\u3002<\/p>\n<p>\u6211\u7684 awful-gif \u9879\u76ee\u53ef\u4ee5\u8f93\u51fa\u5411\u65e5\u8475\u7684 GCT \u4e2d\u7684\u6240\u6709\u989c\u8272\uff08\u4e5f\u8bb8\u5176\u4ed6\u56fe\u50cf\u4e5f\u884c\uff09\u3002<\/p>\n<p>GCT \u7684\u89e3\u6790\u5c31\u5728\u8fd9\u91cc\uff0c\u4f60\u53ef\u4ee5\u770b\u5230\u5b83\u771f\u7684\u6ca1\u6709\u4ec0\u4e48\u7279\u522b\u7684\u5730\u65b9\u3002<\/p>\n<p>\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u8fd0\u884c\uff1a<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"nginx\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attribute\">cargo<\/span>\u00a0run\u00a0--quiet\u00a0--\u00a0--gif-file\u00a0.\/experiments\/Sunflower_as_gif_websafe.gif<\/span><\/code><\/pre>\n<\/section>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"9\" data-source-title=\"\">\n<section>\n<section>\u53ef\u9009\u7684\u56fe\u5f62\u63a7\u5236\u6269\u5c55<\/section>\n<\/section>\n<\/blockquote>\n<p>\u4e0b\u9762\u6211\u4eec\u8bb2\u56fe\u5f62\u63a7\u5236\u6269\u5c55\uff08GCE\uff09\uff0c\u7531\u6269\u5c55\u5f15\u5165\u5668 0x21 \u5f15\u5165\uff08extension introduced\uff09\uff0c\u7136\u540e\u662f 0xF9\uff08\uff01\uff09<\/p>\n<p>\u53ef\u7528\u7684\u6269\u5c55\u6709\u8bb8\u591a\uff0c\u4f46\u56fe\u5f62\u63a7\u5236\u6269\u5c55\u53ef\u4ee5\u8bf4\u662f\u6700\u91cd\u8981\u7684\u6269\u5c55\u4e4b\u4e00\uff0c\u81f3\u5c11\u5728\u73b0\u4ee3\u7528\u4f8b\u4e2d\u662f\u8fd9\u6837\u3002GCE \u5141\u8bb8\u5404\u5e27\u4e4b\u95f4\u5b58\u5728\u663e\u793a\u5ef6\u8fdf\uff0c\u8fd9\u6837 gif \u624d\u80fd\u6210\u4e3a\u201c\u52a8\u753b\u201c\u3002GCE \u8fd8\u5141\u8bb8\u5176\u4ed6\u4e00\u4e9b\u4e8b\u9879\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"makefile\"><code><span class=\"code-snippet_outer\">\ud83d\udf1b xxd Sunflower_as_gif_websafe_89a.gif | head -50 | tail -2<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__section\">00000300: 88ae b091 a5b1 a4b9 be94 887f 81 -&gt; 21 f904  .............!..<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__section\">00000310:\u00a00000\u00a00000\u00a0&lt;-\u00a00021\u00a0fe51\u00a04669\u00a06c65\u00a02073\u00a06f75\u00a0\u00a0.....!.QFile\u00a0sou<\/span><\/span><\/code><\/pre>\n<\/section>\n<p>\u8fd9\u4e2a gif \u5e76\u4e0d\u662f\u52a8\u753b\uff0c\u6240\u4ee5\u8fd9\u91cc\u5e76\u6ca1\u6709\u53d1\u751f\u5f88\u591a\u4e8b\u60c5\u3002\u6b63\u5982\u4f60\u6240\u770b\u5230\u7684\uff0c\u4e0a\u9762\u6709\u5f88\u591a\u96f6\uff0c\u4f46\u6211\u4eec\u8fd8\u662f\u4e00\u4e2a\u5b57\u8282\u4e00\u4e2a\u5b57\u8282\u6765\u8bb2\u3002<\/p>\n<p>\u7b2c\u4e00\u4e2a\u5b57\u8282\u662f\u5757\u5927\u5c0f\uff0c\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\u662f 0x04\uff0c\u4f46\u5b9e\u9645\u4e0a\u6839\u636e\u89c4\u8303\u5b83\u603b\u662f 0x04\u3002<\/p>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"16\" data-source-title=\"\">\n<section>\n<section>\u7b49\u4e00\u4e0b\uff0c\u6211\u4eec\u80fd\u4e0d\u80fd\u628a\u5757\u5927\u5c0f\u53bb\u6389\uff1f<\/section>\n<\/section>\n<\/blockquote>\n<p>\u5982\u679c\u5757\u5927\u5c0f\u603b\u662f\u4e00\u4e2a\u9759\u6001\u7684\u5e38\u6570\uff0c\u90a3\u4e48\u5b83\u5c31\u4e0d\u592a\u91cd\u8981\u4e86\u662f\u5417\uff1f\u4ece\u6280\u672f\u4e0a\u8bb2\uff0c\u5b83\u662f\u89c4\u8303\u7684\u4e00\u90e8\u5206\uff0c\u4f46\u5b9e\u9645\u4e0a\u5e76\u6ca1\u6709\u4ec0\u4e48\u4f5c\u7528\u3002\u6211\u4eec\u518d\u5728\u6d41\u884c\u7684\u56fe\u50cf\u6d4f\u89c8\u5668\u4e2d\u6253\u5f00\u5b83\u770b\u770b\u3002<\/p>\n<p>\u5728\u8fd9\u4e9b\u6d4b\u8bd5\u4e2d\u6211\u5c06\u4f7f\u7528\u4e00\u4e2a\u66f4\u7b80\u5355\u7684 gif\uff0c\u8fd9\u6837\u66f4\u5bb9\u6613\u770b\u5230\u53d1\u751f\u4e86\u4ec0\u4e48\u60c5\u51b5\uff1a<\/p>\n<p>\u5728\u4e0b\u9762\u7684\u6d4b\u8bd5\u4e2d\u6211\u5bf9\u5b83\u505a\u4e86\u4fee\u6539\uff0c\u5220\u9664\u4e86 GCE\u3002\u4fee\u6539\u540e\u7684\u7248\u672c\u4ee5 xxd \u683c\u5f0f\u4fdd\u5b58\u5728\u4e0b\u9762\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"http\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attribute\">00000000<\/span>: 4749 4638 3961 2000 3400 f0ff 00ff ffff  gif89a .4.......<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attribute\">00000010<\/span>: 0000 0021 f903 0500 0002 002c 0000 0000  ...!.......,....<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attribute\">00000020<\/span>: 2000 3400 0002 788c 8fa9 cb0b 0fa3 94ed   .4...x.........<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attribute\">00000030<\/span>: cc7b abc1 1cea d075 5fc8 8d64 a69d 68a5  .{.....u_..d..h.<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attribute\">00000040<\/span>: 4e66 eba5 702c 3675 cddc a5bd e34e bfcb  Nf..p,6u.....N..<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attribute\">00000050<\/span>: 0131 ace1 ea47 0405 9128 9f42 9714 2667  .1...G...(.B..&amp;g<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attribute\">00000060<\/span>: a70d 3564 bd1a b52e 25b7 f905 8729 de31  ..5d....%....).1<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attribute\">00000070<\/span>: cd1c c9a2 016a 74db fc1e c7c3 f36f 9d7b  .....jt......o.{<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attribute\">00000080<\/span>: d7e6 af7b 6a7f f607 13d8 32a8 5258 55e6  ...{j.....2.RXU.<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attribute\">00000090<\/span>: 9608 b728 d748 f768 1789 f751 b950 0000  ...(.H.h...Q.P..<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attribute\">000000a0:\u00a03b\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0;<\/span><\/span><\/code><\/pre>\n<\/section>\n<p>\u5c06\u5176\u4fdd\u5b58\u5230\u4e00\u4e2a\u540d\u4e3a invalid.hex \u7684\u6587\u672c\u6587\u4ef6\u4e2d\uff0c\u7136\u540e\u6267\u884c\uff1axxd -r invalid.hex &gt; invalid.gif<\/p>\n<p>(\u66f4\u65b0\u7684\u5b57\u8282\u5728\uff1a0x16\uff0c\u4ece 0x4-&gt;0x03)<\/p>\n<p>\u7b2c\u4e00\u4e2a\u662f macOS Preview\uff1a<\/p>\n<section><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2111\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-55.png\" width=\"274\" height=\"245\" alt=\"\u56fe\u7247\" \/><\/section>\n<p>Preview \u662f\u7b26\u5408\u6807\u51c6\u7684\uff01<\/p>\n<p>\u63a5\u4e0b\u6765\u6211\u4eec\u8bd5\u8bd5 Firefox\uff1a<\/p>\n<section><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2112\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-56.png\" width=\"816\" height=\"348\" alt=\"\u56fe\u7247\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-56.png 816w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-56-300x128.png 300w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-56-768x328.png 768w\" sizes=\"auto, (max-width: 816px) 100vw, 816px\" \/><\/section>\n<p>Firefox \u77e5\u9053\u8fd9\u662f\u4e00\u4e2a\u9759\u6001\u503c\uff0c\u5e76\u5ffd\u7565\u4e86\u5b83\u7684\u7ed3\u679c\u3002\u8fd9\u5e76\u4e0d\u5b8c\u5168\u7b26\u5408\u6807\u51c6\uff0c\u4f46\u53ef\u80fd\u662f\u6700\u806a\u660e\u7684\u505a\u6cd5\u3002<\/p>\n<section><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2113\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-57.png\" width=\"625\" height=\"370\" alt=\"\u56fe\u7247\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-57.png 625w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-57-300x178.png 300w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/section>\n<p>\u5f53\u5757\u5927\u5c0f\u88ab\u79fb\u9664\u540e\uff0cChrome \u4f1a\u6709\u70b9\u6293\u72c2\u3002\u5728\u8fd9\u91cc\uff0cChrome \u80af\u5b9a\u662f\u6700\u4e0d\u7b26\u5408\u6807\u51c6\u7684\u3002<\/p>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"8\" data-source-title=\"\">\n<section>\n<section>\u56de\u5230\u56fe\u5f62\u63a7\u5236\u6269\u5c55<\/section>\n<\/section>\n<\/blockquote>\n<p>\u5728\u6211\u4eec\u8bfb\u5b8c\u5757\u5927\u5c0f\u4e4b\u540e\uff0c\u662f\u4e00\u4e2a\u5305\u88c5\u597d\u7684\u5b57\u6bb5\uff0c\u63cf\u8ff0\u5982\u4e0b\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"properties\"><code><span class=\"code-snippet_outer\">      <span class=\"code-snippet__meta\">&lt;Packed<\/span> <span class=\"code-snippet__string\">Fields&gt;  =     Reserved                      3 Bits<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">                             <span class=\"code-snippet__attr\">Disposal<\/span> <span class=\"code-snippet__string\">Method               3 Bits<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">                             <span class=\"code-snippet__attr\">User<\/span> <span class=\"code-snippet__string\">Input Flag               1 Bit<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Transparent\u00a0Color\u00a0Flag\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a01\u00a0Bit<\/span><\/span><\/code><\/pre>\n<\/section>\n<p>\u5728\u6211\u4eec\u7684\u56fe\u50cf\u4e2d\u6240\u6709\u8fd9\u4e9b\u5b57\u6bb5\u90fd\u88ab\u8bbe\u7f6e\u4e3a 0\uff0c\u6240\u4ee5\u6211\u53ea\u89e3\u91ca\u5b83\u4eec\u3002<\/p>\n<p>Reserved \u662f\u4e3a gif22a \u51fa\u73b0\u65f6\u8bbe\u7f6e\u7684\uff0c\u6211\u4eec\u9700\u8981\u8fd9\u4e09\u4e2a\u4f4d\u6765\u505a\u4e00\u4e9b\u597d\u4e8b\u3002<\/p>\n<p>User Input \u662f\u4e3a\u4e86\u63a5\u53d7\u7528\u6237\u8f93\u5165\uff0c\u901a\u8fc7\u70b9\u51fb\u9f20\u6807\u6216\u6309\u4e0b\u952e\u76d8\u5c06 gif \u56fe\u7247\u63a8\u8fdb\u5230\u4e0b\u4e00\u5e45\u3002<\/p>\n<p>\u900f\u660e\u7d22\u5f15\u662f\u7528\u6765\u8bbe\u7f6e\u6211\u4eec\u662f\u5426\u5e94\u8be5\u5141\u8bb8\u900f\u660e\u3002<\/p>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"18\" data-source-title=\"\">\n<section>\n<section>\u7b49\u4e00\u4e0b\uff0cgif \u53ef\u4ee5\u63a5\u53d7\u7528\u6237\u8f93\u5165\uff1f\uff1f\uff1f<\/section>\n<\/section>\n<\/blockquote>\n<p>\u662f\u7684\uff0c\u4f60\u6ca1\u770b\u9519\u3002gif \u53ef\u4ee5\u63a5\u53d7\u7528\u6237\u7684\u8f93\u5165\u6765\u63a8\u8fdb\u5230\u4e0b\u4e00\u5e27\u3002\u8fd9\u4e2a\u53ef\u601c\u7684\u5bb6\u4f19\u4e3a\u4e86\u7528 png \u91cd\u73b0\u8fd9\u4e00\u7279\u6027\u5efa\u7acb\u4e86\u4e00\u4e2a\u7f51\u7ad9\u3002\u771f\u53ef\u60dc\uff0c\u4ed6\u50cf\u6211\u4e00\u6837\u88ab\u56f0\u5728\u8fd9\u91cc\u4e86\uff0c\u5c31\u56e0\u4e3a\u4ed6\u6ca1\u770b\u8fc7 gif \u89c4\u8303\u3002<\/p>\n<p>\u6211\u4eec\u4e0d\u59a8\u8ba8\u8bba gif \u652f\u6301\u7684\u53e6\u4e00\u4e2a\u5947\u602a\u7279\u6027\uff0c\u5373\u7eaf\u6587\u672c\u6269\u5c55\u3002<\/p>\n<p>\u7eaf\u6587\u672c\u6269\u5c55\u5141\u8bb8 gif \u5236\u4f5c\u8005\u5728\u4ed6\u4eec\u559c\u6b22\u7684\u4efb\u4f55\u5730\u65b9\u5d4c\u5165\u5355\u8272\u6587\u672c\uff0c\u5e76\u76f4\u63a5\u5728\u56fe\u50cf\u4e0a\u8fdb\u884c\u4e00\u4e9b\u57fa\u672c\u7684\u6837\u5f0f\u8bbe\u8ba1\u3002<\/p>\n<p>\u7eaf\u6587\u672c\u6269\u5c55\u548c\u7528\u6237\u8f93\u5165\u6269\u5c55\u4e00\u6837\uff0c\u9664\u4e86\u50cf gifiddle \u7684\u8fd9\u6837\u4e3a\u4e86\u597d\u73a9\u800c\u5236\u4f5c\u7684 gif \u67e5\u770b\u5668\u5916\uff0c\u53ef\u80fd\u4ece\u672a\u88ab\u4efb\u4f55 gif \u67e5\u770b\u5668\u5b9e\u73b0\u3002<\/p>\n<p>BOB_89A.gif \u53ef\u80fd\u662f\u6709\u53f2\u4ee5\u6765\u5728\u4e92\u8054\u7f51\u4e0a\u53d1\u5e03\u7684\u7b2c\u4e00\u4e2a gif\uff0c\u662f\u4e00\u4e2a\u540c\u65f6\u4f7f\u7528\u8fd9\u4e24\u79cd\u65b9\u5f0f\u7684 gif \u4f8b\u5b50\u3002<\/p>\n<p>\u4e0b\u9762\u662f BOB_89A.gif \u5728\u73b0\u4ee3\u6d4f\u89c8\u5668\u4e2d\u7684\u6e32\u67d3\u3002<\/p>\n<section><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2114\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-55.jpg\" width=\"320\" height=\"200\" alt=\"\u56fe\u7247\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-55.jpg 320w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1-55-300x188.jpg 300w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/section>\n<p>\u7136\u800c\uff0c\u5982\u679c\u4f60\u628a\u5b83\u653e\u5230 gifiddle \u4e2d\uff0c\u4f1a\u5f97\u5230\u4e00\u4e2a\u975e\u5e38\u4e0d\u540c\u7684\u7ed3\u679c\uff0c\u6700\u540e\u7684\u4fe1\u606f\u662f\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u4e8b\u5b9e\u3002<\/p>\n<p>\u4e0d\u8fc7\u6211\u4e0d\u4f1a\u5267\u900f\u8fd9\u4e2a\u60ca\u559c\u3002\u4f60\u53ef\u4ee5\u4e0b\u8f7d\u8fd9\u4e2a gif \u653e\u5230 gifiddle \u91cc\uff0c\u770b\u770b\u4f1a\u53d1\u751f\u4ec0\u4e48\u3002<\/p>\n<p>gifiddle \u94fe\u63a5\uff1ahttp:\/\/ata4.github.io\/gifiddle\/<\/p>\n<p>\u4efb\u4f55\u73b0\u4ee3\u6d4f\u89c8\u5668\u6216 gif \u6d4f\u89c8\u5668\u90fd\u4e0d\u652f\u6301\u8fd9\u4e24\u9879\u7279\u6027\u3002<\/p>\n<p>\u5982\u679c\u4f60\u60f3\u9605\u8bfb\u66f4\u591a\u5173\u4e8e\u7eaf\u6587\u672c\u6269\u5c55\u7684\u4fe1\u606f\uff0c\u53ef\u4ee5\u770b\u8fd9\u91cc\u3002<\/p>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"7\" data-source-title=\"\">\n<section>\n<section>\u53ef\u9009\u7684\u6ce8\u91ca\u6269\u5c55<\/section>\n<\/section>\n<\/blockquote>\n<p>\u63a5\u4e0b\u6765\u662f\u6ce8\u91ca\u6269\u5c55\uff0c\u5b9e\u9645\u4e0a\u5b83\u53ef\u4ee5\u51fa\u73b0\u5728\u4e00\u4e2a\u5757\u53ef\u80fd\u5f00\u59cb\u7684\u4efb\u4f55\u5730\u65b9\u3002\u7136\u800c\u5b83\u6700\u5e38\u51fa\u73b0\u5728 gif \u7684\u8fd9\u4e00\u90e8\u5206\u3002<\/p>\n<p>\u6ce8\u91ca\u90e8\u5206\u53ea\u5141\u8bb8\u5305\u542b 7 \u4f4d\u7684 ascii\uff0c\u5e76\u4e14\u662f\u4f9b\u4eba\u7c7b\u9605\u8bfb\u7684\u3002<\/p>\n<p>\u7531\u4e8e\u6ce8\u91ca\u90e8\u5206\u53ea\u662f ascii\uff0c\u4f60\u53ef\u4ee5\u76f4\u63a5\u53d1\u5c04\u5b57\u7b26\u4e32\u5e76\u5728\u8f93\u51fa\u4e2d\u627e\u5230\u6ce8\u91ca\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"javascript\"><code><span class=\"code-snippet_outer\">\ud83d\udf1b strings Sunflower_as_gif_websafe_89a.gif | head <span class=\"code-snippet__number\">-7<\/span> | tail <span class=\"code-snippet__number\">-1<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">QFile\u00a0source:\u00a0https:<span class=\"code-snippet__comment\">\/\/commons.wikimedia.org\/wiki\/File:Sunflower_as_gif_websafe.gif<\/span><\/span><\/code><\/pre>\n<\/section>\n<p>\u5728\u8fd9\u5f20\u56fe\u7247\u4e2d\uff0c\u5b83\u5f00\u59cb\u4e8e\u56fe\u7247\u7684 0x310 \u5b57\u8282\u3002<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"go\"><code><span class=\"code-snippet_outer\">\ud83d\udf1b xxd Sunflower_as_gif_websafe_89a.gif | head <span class=\"code-snippet__number\">-55<\/span> | tail <span class=\"code-snippet__number\">-6<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__number\">00000310<\/span>: <span class=\"code-snippet__number\">0000<\/span> <span class=\"code-snippet__number\">0000<\/span> <span class=\"code-snippet__number\">0021<\/span> fe51 <span class=\"code-snippet__number\">4669<\/span> <span class=\"code-snippet__number\">6<\/span>c65 <span class=\"code-snippet__number\">2073<\/span> <span class=\"code-snippet__number\">6f<\/span>75  .....!.QFile sou<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__number\">00000320<\/span>: <span class=\"code-snippet__number\">7263<\/span> <span class=\"code-snippet__number\">653<\/span>a <span class=\"code-snippet__number\">2068<\/span> <span class=\"code-snippet__number\">7474<\/span> <span class=\"code-snippet__number\">7073<\/span> <span class=\"code-snippet__number\">3<\/span>a2f <span class=\"code-snippet__number\">2f<\/span>63 <span class=\"code-snippet__number\">6f<\/span>6d  rce: https:<span class=\"code-snippet__comment\">\/\/com<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__number\">00000330<\/span>: <span class=\"code-snippet__number\">6d<\/span>6f <span class=\"code-snippet__number\">6e73<\/span> <span class=\"code-snippet__number\">2e77<\/span> <span class=\"code-snippet__number\">696<\/span>b <span class=\"code-snippet__number\">696d<\/span> <span class=\"code-snippet__number\">6564<\/span> <span class=\"code-snippet__number\">6961<\/span> <span class=\"code-snippet__number\">2e6f<\/span>  mons.wikimedia.o<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__number\">00000340<\/span>: <span class=\"code-snippet__number\">7267<\/span> <span class=\"code-snippet__number\">2f<\/span>77 <span class=\"code-snippet__number\">696<\/span>b <span class=\"code-snippet__number\">692f<\/span> <span class=\"code-snippet__number\">4669<\/span> <span class=\"code-snippet__number\">6<\/span>c65 <span class=\"code-snippet__number\">3<\/span>a53 <span class=\"code-snippet__number\">756<\/span>e  rg\/wiki\/File:Sun<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__number\">00000350<\/span>: <span class=\"code-snippet__number\">666<\/span>c <span class=\"code-snippet__number\">6f<\/span>77 <span class=\"code-snippet__number\">6572<\/span> <span class=\"code-snippet__number\">5f<\/span>61 <span class=\"code-snippet__number\">735f<\/span> <span class=\"code-snippet__number\">6769<\/span> <span class=\"code-snippet__number\">665f<\/span> <span class=\"code-snippet__number\">7765<\/span>  flower_as_gif_we<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__number\">00000360<\/span>:\u00a0<span class=\"code-snippet__number\">6273<\/span>\u00a0<span class=\"code-snippet__number\">6166<\/span>\u00a0<span class=\"code-snippet__number\">652<\/span>e\u00a0<span class=\"code-snippet__number\">6769<\/span>\u00a0<span class=\"code-snippet__number\">6600<\/span>\u00a0<span class=\"code-snippet__number\">2<\/span>c00\u00a0<span class=\"code-snippet__number\">0000<\/span>\u00a0<span class=\"code-snippet__number\">00d<\/span>c\u00a0\u00a0bsafe.gif.,.....<\/span><\/code><\/pre>\n<\/section>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"9\" data-source-title=\"\">\n<section>\n<section>\u56fe\u50cf\u6570\u636e\u7684\u5269\u4f59\u90e8\u5206<\/section>\n<\/section>\n<\/blockquote>\n<p>\u4e4b\u540e\u5c31\u6ca1\u6709\u4ec0\u4e48\u53ef\u8c08\u7684\u4e86\u3002\u8fd9\u5f20\u56fe\u50cf\u8df3\u8fc7\u4e86\u5927\u591a\u6570\u5176\u4ed6\u7684 gif \u7279\u6027\uff0c\u5982\u672c\u5730\u989c\u8272\u8868\u548c\u52a8\u753b\uff0c\u6240\u4ee5\u8fd9\u5f20 gif \u5269\u4e0b\u7684\u5927\u90e8\u5206\u53ea\u662f\u6570\u636e\u548c\u7ec8\u6b62\u7b26\u3002<\/p>\n<p>\u8001\u5b9e\u8bf4 lzw \u538b\u7f29\u5e76\u4e0d\u96be\u5b66\uff0c\u4f46\u672c\u6587\u5e76\u4e0d\u662f\u8981\u8bb2\u8fd9\u4e2a\u8bdd\u9898\u3002\u5982\u679c\u4f60\u60f3\u5b66\u4e60\u5b83\uff0cMatthew Flickinger \u5728\u4ed6\u7684\u7f51\u7ad9\u4e0a\u6709\u4e00\u7bc7\u597d\u6587\u7ae0\u3002<\/p>\n<blockquote data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"10\" data-source-title=\"\">\n<section>\n<section>\u9644\u52a0\u5185\u5bb9\uff1a\u771f\u5f69 gif<\/section>\n<\/section>\n<\/blockquote>\n<p>\u4f60\u77e5\u9053 gif \u53ef\u4ee5\u662f\u771f\u5f69\u8272\u7684\u5417\uff1f\u8fd9\u548c\u201c\u5c40\u90e8\u989c\u8272\u8868\u201c\u6709\u5173\u7cfb\u3002\u6bcf\u4e2a\u6570\u636e\u6bb5\u90fd\u5141\u8bb8\u6709\u81ea\u5df1\u7684\u5c40\u90e8\u989c\u8272\u8868\uff0c\u56e0\u6b64\u5982\u679c\u4f60\u628a\u4e00\u4e2a gif \u5206\u6210\u8db3\u591f\u591a\u7684\u7247\u65ad\uff0c\u4f60\u5c31\u53ef\u4ee5\u5f97\u5230\u771f\u5f69\u8272\u4e86\uff01<\/p>\n<section><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2115\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/uploads\/2022\/03\/4ffce04d92a4d6cb21c1494cdfcd6dc1.gif\" width=\"210\" height=\"210\" alt=\"\u56fe\u7247\" \/><\/section>\n<p>\u5927\u591a\u6570 gif \u4e0d\u4f1a\u8fd9\u6837\u505a\uff0c\u6709\u51e0\u4e2a\u539f\u56e0\u3002<\/p>\n<p>\u9996\u5148\uff0c\u8fd9\u6837\u751f\u6210\u7684\u56fe\u50cf\u662f\u975e\u5e38\u5927\u7684\u3002\u6bcf\u4e00\u4e2a\u65b0\u7684 256 \u8272\u8c03\u8272\u677f\u5c06\u6d88\u8017\u989d\u5916\u7684 768 \u5b57\u8282\u3002<\/p>\n<p>\u7b2c\u4e8c\uff0c\u73b0\u5728\u7684\u6e32\u67d3\u5668\u4e0d\u4f1a\u201c\u6b63\u786e\u201c\u6e32\u67d3\u8fd9\u6837\u7684\u56fe\u50cf\u3002\u6d4f\u89c8\u5668\u5728\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5982\u679c\u6ca1\u6709\u6307\u5b9a\uff0c\u901a\u5e38\u4f1a\u5728\u5e27\u4e4b\u95f4\u8bbe\u7f6e 0.1 \u7684\u5ef6\u8fdf\u3002<\/p>\n<p>\u7136\u800c\uff0c\u4e00\u4e2a\u771f\u6b63\u7b26\u5408\u89c4\u8303\u8981\u6c42\u7684 gif \u6e32\u67d3\u5668\u4f1a\u6b63\u786e\u5730\u663e\u793a\u771f\u5f69\u8272 gif\u3002\u56e0\u6b64\uff0c\u5982\u679c\u4f60\u6709\u8db3\u591f\u7684\u7a7a\u95f4\u3001\u5185\u5b58\u548c\u591a\u4f59\u7684 CPU\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u505a\u4e00\u4e2a\u771f\u5f69 gif \u5462\uff1f<\/p>\n<p>\u5982\u679c\u4f60\u60f3\u4e86\u89e3\u66f4\u591a\u5173\u4e8e\u771f\u5f69 gif \u7684\u4fe1\u606f\uff0c\u7ef4\u57fa\u767e\u79d1\u4e0a\u6709\u4e00\u6574\u4e2a\u7ae0\u8282\u3002<\/p>\n<section>\u603b\u00a0 \u7ed3<\/section>\n<p>\u611f\u8c22\u5927\u5bb6\u6709\u8010\u5fc3\u770b\u5230\u8fd9\u91cc\u3002gif \u89c4\u8303\u4e2d\u8fd8\u6709\u66f4\u591a\u90e8\u5206\u6211\u6ca1\u6709\u8bb2\u5230\uff0c\u5982\u679c\u4f60\u6709\u5174\u8da3\u4e86\u89e3\u66f4\u591a\u5173\u4e8e gif \u7684\u4fe1\u606f\uff0c\u6211\u5efa\u8bae\u4f60\u67e5\u770b\u89c4\u8303\u548c\u6211\u5728\u6587\u7ae0\u9876\u90e8\u6dfb\u52a0\u7684\u90a3\u4e9b\u94fe\u63a5\u3002<\/p>\n<section>\u6ce8\u00a0 \u91ca<\/section>\n<p>1.\u00a0 https:\/\/en.wikipedia.org\/wiki\/gif#history\ufe0e<\/p>\n<p>2.\u00a0 \u5411\u65e5\u8475\u56fe\u7247\u8f6c\u81ea\u7ef4\u57fa\u767e\u79d1\u5173\u4e8e gifs \u7684\u6587\u7ae0\uff08\u89c1\u811a\u6ce8 1\uff09\ufe0e<\/p>\n<p>3. \u00a0gif87a \u5728\u6280\u672f\u4e0a\u662f\u4ee5\u6bd4\u8f83\u6709\u9650\u7684\u683c\u5f0f\u652f\u6301\u52a8\u753b\u7684\u3002\u8981\u4e86\u89e3\u66f4\u591a\u4fe1\u606f\uff0c\u4f60\u53ef\u4ee5\u8bd5\u8bd5 gifiddle \u4ed3\u5e93\u4e0a\u7684 gif87a \u52a8\u753b\u4f8b\u5b50\uff1ahttps:\/\/github.com\/ata4\/gifiddle\ufe0e<\/p>\n<p>4. \u00a0\u66f4\u591a\u4fe1\u606f\u8bf7\u53c2\u89c1 gif \u89c4\u8303\u7684\u7b2c 18 \u8282\uff08\u903b\u8f91\u5c4f\u5e55\u63cf\u8ff0\u7b26\uff09\u3002<\/p>\n<p>5.\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u53c2\u89c1\u7b2c 4 \u8282\u3002\u6587\u6863\u6765\u81ea gif \u89c4\u8303\uff1ahttps:\/\/www.w3.org\/Graphics\/gif\/spec-gif89a.txt\ufe0e<\/p>\n<p><strong>\u539f\u6587\u94fe\u63a5\uff1a<\/strong><\/p>\n<p>https:\/\/blog.darrien.dev\/posts\/you-dont-know-gif\/<\/p>\n<\/section>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_2098\" class=\"pvc_stats total_only  \" data-element-id=\"2098\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u8005 | Darrien \u7ffb\u8bd1 | \u738b\u5f3a \u7b56\u5212 | \u8f9b\u6653\u4eae \u662f\u7684\uff0c\u6211\u6307\u7684\u662f\u4e3b\u6d41\u7684\uff0c\u904d\u5e03\u5168\u7f51\u7684\u666e\u901a gif\uff0c\u8c37\u6b4c [&hellip;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_2098\" class=\"pvc_stats total_only  \" data-element-id=\"2098\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":2104,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-2098","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai"],"_links":{"self":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/2098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/comments?post=2098"}],"version-history":[{"count":1,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/2098\/revisions"}],"predecessor-version":[{"id":2116,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/2098\/revisions\/2116"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media\/2104"}],"wp:attachment":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media?parent=2098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/categories?post=2098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/tags?post=2098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}