{"id":853,"date":"2024-11-07T12:13:43","date_gmt":"2024-11-07T04:13:43","guid":{"rendered":"https:\/\/fwq.ai\/blog\/853\/"},"modified":"2024-11-07T12:13:43","modified_gmt":"2024-11-07T04:13:43","slug":"imagick-%e5%b0%86%e5%9b%be%e7%89%87%e8%bd%ac%e6%8d%a2%e4%b8%ba-webp-%e6%97%b6%e5%87%ba%e7%8e%b0%e5%88%86%e5%8c%ba%e6%ba%a2%e5%87%ba%e9%94%99%e8%af%af%e6%80%8e%e4%b9%88%e5%8a%9e%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/853\/","title":{"rendered":"Imagick \u5c06\u56fe\u7247\u8f6c\u6362\u4e3a WebP \u65f6\u51fa\u73b0\u5206\u533a\u6ea2\u51fa\u9519\u8bef\u600e\u4e48\u529e\uff1f"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1058\" src=\"https:\/\/fwq.ai\/blog\/wp-content\/uploads\/2024\/11\/173007883283680.jpg\" width=\"720\" height=\"288\" srcset=\"https:\/\/fwq.ai\/blog\/wp-content\/uploads\/2024\/11\/173007883283680.jpg 720w, https:\/\/fwq.ai\/blog\/wp-content\/uploads\/2024\/11\/173007883283680-300x120.jpg 300w, https:\/\/fwq.ai\/blog\/wp-content\/uploads\/2024\/11\/173007883283680-670x268.jpg 670w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" title=\"Imagick \u5c06\u56fe\u7247\u8f6c\u6362\u4e3a WebP \u65f6\u51fa\u73b0\u5206\u533a\u6ea2\u51fa\u9519\u8bef\u600e\u4e48\u529e\uff1f\u63d2\u56fe\" alt=\"Imagick \u5c06\u56fe\u7247\u8f6c\u6362\u4e3a WebP \u65f6\u51fa\u73b0\u5206\u533a\u6ea2\u51fa\u9519\u8bef\u600e\u4e48\u529e\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>imagick \u5c06\u56fe\u7247\u8f6c\u4e3a webp \u65f6\u51fa\u73b0\u5206\u533a\u6ea2\u51fa\u9519\u8bef<\/strong><\/p>\n<p>\u5728\u4f7f\u7528 imagick \u5c06\u56fe\u7247\u8f6c\u6362\u4e3a webp \u683c\u5f0f\u65f6\uff0c\u60a8\u53ef\u80fd\u4f1a\u9047\u5230\u201cpartition 0 overflow (&gt; 512k)\u201d\u9519\u8bef\u3002\u8be5\u9519\u8bef\u8868\u793a\u8fc7\u7a0b\u4e2d\u53d1\u751f\u4e86\u5185\u5b58\u6ea2\u51fa\u3002<\/p>\n<p><strong>\u89e3\u51b3\u65b9\u6cd5\uff1a<\/strong><\/p>\n<p>\u8be5\u9519\u8bef\u901a\u5e38\u662f\u7531\u8fc7\u65f6\u7684 imagick \u7248\u672c\u5f15\u8d77\u7684\u3002\u4ee5\u4e0b\u662f\u89e3\u51b3\u8be5\u95ee\u9898\u7684\u6b65\u9aa4\uff1a<\/p>\n<ol>\n<li>\u786e\u4fdd imagick \u5df2\u5b89\u88c5\u5728\u60a8\u7684\u7cfb\u7edf\u4e0a\u3002<\/li>\n<li>\u5347\u7ea7 imagick \u5230\u6700\u65b0\u7248\u672c\u3002\u4ee5\u4e0b\u547d\u4ee4\u53ef\u7528\u4e8e debian\/ubuntu \u7cfb\u7edf\uff1a<\/li>\n<\/ol>\n<pre>sudo apt-get update &amp;&amp; sudo apt-get install imagick<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<ol>\n<li>\u91cd\u65b0\u8fd0\u884c\u60a8\u7684\u4ee3\u7801\u3002<\/li>\n<\/ol>\n<p>\u5347\u7ea7 imagick \u7248\u672c\u5e94\u8be5\u53ef\u4ee5\u89e3\u51b3\u8be5\u9519\u8bef\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fImagick \u5c06\u56fe\u7247\u8f6c\u6362\u4e3a WebP \u65f6\u51fa\u73b0\u5206\u533a\u6ea2\u51fa\u9519\u8bef\u600e\u4e48\u529e\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>imagick \u5c06\u56fe\u7247\u8f6c\u4e3a webp \u65f6\u51fa\u73b0\u5206\u533a\u6ea2\u51fa\u9519\u8bef \u5728\u4f7f\u7528 imagick \u5c06\u56fe\u7247\u8f6c\u6362\u4e3a webp \u683c\u5f0f\u65f6\uff0c\u60a8\u53ef\u80fd\u4f1a\u9047\u5230\u201cpartition 0 overflow (&gt; 512k)\u201d\u9519\u8bef\u3002\u8be5\u9519\u8bef\u8868\u793a\u8fc7\u7a0b\u4e2d\u53d1\u751f\u4e86\u5185\u5b58\u6ea2\u51fa\u3002 \u89e3\u51b3\u65b9\u6cd5\uff1a \u8be5\u9519\u8bef\u901a\u5e38\u662f\u7531\u8fc7\u65f6\u7684 imagick \u7248\u672c\u5f15\u8d77\u7684\u3002\u4ee5\u4e0b\u662f\u89e3\u51b3\u8be5\u95ee\u9898\u7684\u6b65\u9aa4\uff1a \u786e\u4fdd imagick \u5df2\u5b89\u88c5\u5728\u60a8\u7684\u7cfb\u7edf\u4e0a\u3002 \u5347\u7ea7 imagick \u5230\u6700\u65b0\u7248\u672c\u3002\u4ee5\u4e0b\u547d\u4ee4\u53ef\u7528\u4e8e debian\/ubuntu \u7cfb\u7edf\uff1a sudo apt-get update &amp;&amp; sudo apt-get install imagick \u767b\u5f55\u540e\u590d\u5236 \u91cd\u65b0\u8fd0\u884c\u60a8\u7684\u4ee3\u7801\u3002 \u5347\u7ea7 imagick \u7248\u672c\u5e94\u8be5\u53ef\u4ee5\u89e3\u51b3\u8be5\u9519\u8bef\u3002 \u4ee5\u4e0a\u5c31\u662fImagick \u5c06\u56fe\u7247\u8f6c\u6362\u4e3a WebP \u65f6\u51fa\u73b0\u5206\u533a\u6ea2\u51fa\u9519\u8bef\u600e\u4e48\u529e\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-853","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=853"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/853\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}