{"id":1060645,"date":"2024-12-31T15:35:50","date_gmt":"2024-12-31T07:35:50","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1060645.html"},"modified":"2024-12-31T15:35:53","modified_gmt":"2024-12-31T07:35:53","slug":"%e5%a6%82%e4%bd%95%e5%b0%86jpg%e5%9c%a8python%e4%b8%ad%e7%94%a8pil","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1060645.html","title":{"rendered":"\u5982\u4f55\u5c06jpg\u5728python\u4e2d\u7528PIL"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/d35e7f1d-b124-49c0-baba-165eb2222ef2.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"\u5982\u4f55\u5c06jpg\u5728python\u4e2d\u7528PIL\" \/><\/p>\n<p><p> <strong>\u4f7f\u7528PIL\u5c06JPG\u56fe\u7247\u5904\u7406\u4e3a\u5176\u4ed6\u683c\u5f0f\u3001\u8c03\u6574\u5927\u5c0f\u3001\u65cb\u8f6c\u56fe\u7247<\/strong><\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u4f7f\u7528PIL\uff08Pillow\uff09\u5e93\u53ef\u4ee5\u8f7b\u677e\u5730\u5904\u7406JPG\u56fe\u7247\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528PIL\u6765\u6253\u5f00\u3001\u7f16\u8f91\u548c\u4fdd\u5b58\u56fe\u7247\u3002\u5177\u4f53\u64cd\u4f5c\u5305\u62ec\uff1a\u6253\u5f00\u56fe\u7247\u6587\u4ef6\u3001\u8c03\u6574\u56fe\u7247\u5927\u5c0f\u3001\u65cb\u8f6c\u56fe\u7247\u3001\u4fdd\u5b58\u56fe\u7247\u4e3a\u5176\u4ed6\u683c\u5f0f\u7b49\u3002<strong>\u901a\u8fc7PIL\uff0c\u4f60\u53ef\u4ee5\u65b9\u4fbf\u5730\u5bf9JPG\u56fe\u7247\u8fdb\u884c\u5404\u79cd\u5904\u7406\u64cd\u4f5c\uff0c\u6ee1\u8db3\u4e0d\u540c\u7684\u9700\u6c42<\/strong>\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528PIL\u8fdb\u884c\u8fd9\u4e9b\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b89\u88c5Pillow\u5e93<\/h3>\n<\/p>\n<p><p>\u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u4f60\u9700\u8981\u786e\u4fdd\u5df2\u7ecf\u5b89\u88c5\u4e86Pillow\u5e93\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5Pillow\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install Pillow<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u6253\u5f00\u548c\u663e\u793aJPG\u56fe\u7247<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528PIL\u6253\u5f00\u5e76\u663e\u793aJPG\u56fe\u7247\u975e\u5e38\u7b80\u5355\u3002\u4f60\u53ea\u9700\u8981\u5bfc\u5165Image\u6a21\u5757\uff0c\u5e76\u4f7f\u7528Image.open()\u51fd\u6570\u6765\u6253\u5f00\u56fe\u7247\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image<\/p>\n<h2><strong>\u6253\u5f00\u56fe\u7247<\/strong><\/h2>\n<p>image = Image.open(&quot;example.jpg&quot;)<\/p>\n<h2><strong>\u663e\u793a\u56fe\u7247<\/strong><\/h2>\n<p>image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u8c03\u6574\u56fe\u7247\u5927\u5c0f<\/h3>\n<\/p>\n<p><p>\u8c03\u6574\u56fe\u7247\u5927\u5c0f\u662f\u56fe\u50cf\u5904\u7406\u4e2d\u7684\u4e00\u4e2a\u5e38\u89c1\u64cd\u4f5c\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528Image\u7c7b\u7684resize()\u65b9\u6cd5\u6765\u8c03\u6574\u56fe\u7247\u7684\u5927\u5c0f\u3002\u4ee5\u4e0b\u662f\u8c03\u6574\u56fe\u7247\u5927\u5c0f\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u8c03\u6574\u56fe\u7247\u5927\u5c0f<\/p>\n<p>new_size = (800, 600)<\/p>\n<p>resized_image = image.resize(new_size)<\/p>\n<h2><strong>\u663e\u793a\u8c03\u6574\u540e\u7684\u56fe\u7247<\/strong><\/h2>\n<p>resized_image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8be6\u7ec6\u63cf\u8ff0\uff1a<\/strong><\/p>\n<p>\u8c03\u6574\u56fe\u7247\u5927\u5c0f\u65f6\uff0c\u4f60\u9700\u8981\u6307\u5b9a\u4e00\u4e2a\u65b0\u7684\u5c3a\u5bf8\u5143\u7ec4\uff08\u5bbd\u5ea6\uff0c\u9ad8\u5ea6\uff09\u3002resize()\u65b9\u6cd5\u8fd4\u56de\u4e00\u4e2a\u65b0\u7684Image\u5bf9\u8c61\uff0c\u8be5\u5bf9\u8c61\u5177\u6709\u6307\u5b9a\u7684\u5c3a\u5bf8\u3002\u4f60\u53ef\u4ee5\u8fdb\u4e00\u6b65\u64cd\u4f5c\u8fd9\u4e2a\u65b0\u7684Image\u5bf9\u8c61\uff0c\u6216\u8005\u5c06\u5176\u4fdd\u5b58\u4e3a\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u65cb\u8f6c\u56fe\u7247<\/h3>\n<\/p>\n<p><p>\u65cb\u8f6c\u56fe\u7247\u4e5f\u662f\u4e00\u4e2a\u5e38\u89c1\u7684\u56fe\u50cf\u5904\u7406\u64cd\u4f5c\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528Image\u7c7b\u7684rotate()\u65b9\u6cd5\u6765\u65cb\u8f6c\u56fe\u7247\u3002\u4ee5\u4e0b\u662f\u65cb\u8f6c\u56fe\u7247\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u65cb\u8f6c\u56fe\u7247<\/p>\n<p>angle = 45  # \u65cb\u8f6c\u89d2\u5ea6<\/p>\n<p>rotated_image = image.rotate(angle)<\/p>\n<h2><strong>\u663e\u793a\u65cb\u8f6c\u540e\u7684\u56fe\u7247<\/strong><\/h2>\n<p>rotated_image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u4fdd\u5b58\u56fe\u7247\u4e3a\u5176\u4ed6\u683c\u5f0f<\/h3>\n<\/p>\n<p><p>PIL\u5141\u8bb8\u4f60\u5c06\u56fe\u7247\u4fdd\u5b58\u4e3a\u591a\u79cd\u683c\u5f0f\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528Image\u7c7b\u7684save()\u65b9\u6cd5\u6765\u4fdd\u5b58\u56fe\u7247\u4e3a\u5176\u4ed6\u683c\u5f0f\u3002\u4ee5\u4e0b\u662f\u5c06JPG\u56fe\u7247\u4fdd\u5b58\u4e3aPNG\u683c\u5f0f\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4fdd\u5b58\u56fe\u7247\u4e3a\u5176\u4ed6\u683c\u5f0f<\/p>\n<p>rotated_image.save(&quot;rotated_image.png&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u5176\u4ed6\u5e38\u7528\u64cd\u4f5c<\/h3>\n<\/p>\n<p><h4>1\u3001\u88c1\u526a\u56fe\u7247<\/h4>\n<\/p>\n<p><p>\u88c1\u526a\u56fe\u7247\u53ef\u4ee5\u4f7f\u7528Image\u7c7b\u7684crop()\u65b9\u6cd5\u3002\u4f60\u9700\u8981\u6307\u5b9a\u4e00\u4e2a\u88c1\u526a\u533a\u57df\uff0c\u8be5\u533a\u57df\u662f\u4e00\u4e2a\u5143\u7ec4\uff08\u5de6\uff0c\u4e0a\uff0c\u53f3\uff0c\u4e0b\uff09\u3002\u4ee5\u4e0b\u662f\u88c1\u526a\u56fe\u7247\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u88c1\u526a\u56fe\u7247<\/p>\n<p>crop_area = (100, 100, 400, 400)<\/p>\n<p>cropped_image = image.crop(crop_area)<\/p>\n<h2><strong>\u663e\u793a\u88c1\u526a\u540e\u7684\u56fe\u7247<\/strong><\/h2>\n<p>cropped_image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u8f6c\u6362\u56fe\u7247\u6a21\u5f0f<\/h4>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u4f7f\u7528Image\u7c7b\u7684convert()\u65b9\u6cd5\u6765\u8f6c\u6362\u56fe\u7247\u6a21\u5f0f\u3002\u5e38\u89c1\u7684\u6a21\u5f0f\u5305\u62ec\u201cL\u201d\uff08\u7070\u5ea6\uff09\u3001\u201cRGB\u201d\uff08\u5f69\u8272\uff09\u548c\u201cRGBA\u201d\uff08\u5e26\u900f\u660e\u5ea6\uff09\u3002\u4ee5\u4e0b\u662f\u8f6c\u6362\u56fe\u7247\u6a21\u5f0f\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u8f6c\u6362\u56fe\u7247\u6a21\u5f0f<\/p>\n<p>gray_image = image.convert(&quot;L&quot;)<\/p>\n<h2><strong>\u663e\u793a\u7070\u5ea6\u56fe\u7247<\/strong><\/h2>\n<p>gray_image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u5e94\u7528\u6ee4\u955c<\/h4>\n<\/p>\n<p><p>PIL\u63d0\u4f9b\u4e86\u591a\u79cd\u6ee4\u955c\u6548\u679c\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528ImageFilter\u6a21\u5757\u6765\u5e94\u7528\u8fd9\u4e9b\u6ee4\u955c\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u5e94\u7528\u6a21\u7cca\u6ee4\u955c\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import ImageFilter<\/p>\n<h2><strong>\u5e94\u7528\u6a21\u7cca\u6ee4\u955c<\/strong><\/h2>\n<p>blurred_image = image.filter(ImageFilter.BLUR)<\/p>\n<h2><strong>\u663e\u793a\u6a21\u7cca\u540e\u7684\u56fe\u7247<\/strong><\/h2>\n<p>blurred_image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e03\u3001\u7efc\u5408\u793a\u4f8b<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u66f4\u597d\u5730\u7406\u89e3\u4e0a\u8ff0\u64cd\u4f5c\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u8fd9\u4e9b\u64cd\u4f5c\u7efc\u5408\u5230\u4e00\u4e2a\u793a\u4f8b\u4e2d\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7efc\u5408\u793a\u4f8b\uff0c\u5c55\u793a\u4e86\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528PIL\u5bf9JPG\u56fe\u7247\u8fdb\u884c\u591a\u79cd\u5904\u7406\u64cd\u4f5c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image, ImageFilter<\/p>\n<h2><strong>\u6253\u5f00\u56fe\u7247<\/strong><\/h2>\n<p>image = Image.open(&quot;example.jpg&quot;)<\/p>\n<h2><strong>\u8c03\u6574\u56fe\u7247\u5927\u5c0f<\/strong><\/h2>\n<p>new_size = (800, 600)<\/p>\n<p>resized_image = image.resize(new_size)<\/p>\n<h2><strong>\u65cb\u8f6c\u56fe\u7247<\/strong><\/h2>\n<p>angle = 45<\/p>\n<p>rotated_image = resized_image.rotate(angle)<\/p>\n<h2><strong>\u88c1\u526a\u56fe\u7247<\/strong><\/h2>\n<p>crop_area = (100, 100, 400, 400)<\/p>\n<p>cropped_image = rotated_image.crop(crop_area)<\/p>\n<h2><strong>\u8f6c\u6362\u56fe\u7247\u6a21\u5f0f<\/strong><\/h2>\n<p>gray_image = cropped_image.convert(&quot;L&quot;)<\/p>\n<h2><strong>\u5e94\u7528\u6a21\u7cca\u6ee4\u955c<\/strong><\/h2>\n<p>blurred_image = gray_image.filter(ImageFilter.BLUR)<\/p>\n<h2><strong>\u4fdd\u5b58\u5904\u7406\u540e\u7684\u56fe\u7247<\/strong><\/h2>\n<p>blurred_image.save(&quot;processed_image.png&quot;)<\/p>\n<h2><strong>\u663e\u793a\u5904\u7406\u540e\u7684\u56fe\u7247<\/strong><\/h2>\n<p>blurred_image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u4ee3\u7801\uff0c\u4f60\u53ef\u4ee5\u770b\u5230\u5982\u4f55\u4e00\u6b65\u6b65\u5730\u5bf9JPG\u56fe\u7247\u8fdb\u884c\u591a\u79cd\u5904\u7406\u64cd\u4f5c\u3002\u4f60\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\uff0c\u9009\u62e9\u5e76\u7ec4\u5408\u8fd9\u4e9b\u64cd\u4f5c\uff0c\u521b\u5efa\u51fa\u7b26\u5408\u8981\u6c42\u7684\u56fe\u50cf\u5904\u7406\u6d41\u7a0b\u3002<\/p>\n<\/p>\n<p><h3>\u516b\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>PIL\uff08Pillow\uff09\u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684\u56fe\u50cf\u5904\u7406\u5e93\uff0c\u80fd\u591f\u65b9\u4fbf\u5730\u5bf9JPG\u56fe\u7247\u8fdb\u884c\u5404\u79cd\u64cd\u4f5c\u3002\u901a\u8fc7\u5b66\u4e60\u548c\u638c\u63e1PIL\u7684\u57fa\u672c\u529f\u80fd\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u5730\u5728Python\u4e2d\u6253\u5f00\u3001\u7f16\u8f91\u548c\u4fdd\u5b58\u56fe\u7247\u3002\u5e0c\u671b\u672c\u6587\u63d0\u4f9b\u7684\u793a\u4f8b\u548c\u8be6\u7ec6\u63cf\u8ff0\u80fd\u591f\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7406\u89e3\u548c\u4f7f\u7528PIL\u8fdb\u884c\u56fe\u50cf\u5904\u7406\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528PIL\u5e93\u5904\u7406JPG\u56fe\u7247\uff1f<\/strong><br \/>PIL\uff08Python Imaging Library\uff09\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u56fe\u50cf\u5904\u7406\u5e93\uff0c\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u8f7b\u677e\u5730\u6253\u5f00\u3001\u64cd\u4f5c\u548c\u4fdd\u5b58\u4e0d\u540c\u683c\u5f0f\u7684\u56fe\u7247\u3002\u4f7f\u7528PIL\u5904\u7406JPG\u56fe\u7247\u901a\u5e38\u5305\u62ec\u6253\u5f00\u56fe\u7247\u3001\u8c03\u6574\u5c3a\u5bf8\u3001\u65cb\u8f6c\u3001\u5e94\u7528\u6ee4\u955c\u7b49\u64cd\u4f5c\u3002\u9996\u5148\uff0c\u786e\u4fdd\u5df2\u5b89\u88c5PIL\u5e93\uff08\u53ef\u4ee5\u901a\u8fc7<code>pip install pillow<\/code>\u547d\u4ee4\u5b89\u88c5\uff09\u3002\u63a5\u7740\uff0c\u53ef\u4ee5\u4f7f\u7528<code>Image.open()<\/code>\u65b9\u6cd5\u6253\u5f00JPG\u6587\u4ef6\uff0c\u5e76\u4f7f\u7528\u5176\u4ed6\u529f\u80fd\u8fdb\u884c\u5904\u7406\u3002\u4f8b\u5982\uff0c<code>img.save(&#39;new_image.jpg&#39;)<\/code>\u53ef\u4ee5\u4fdd\u5b58\u5904\u7406\u540e\u7684\u56fe\u7247\u3002<\/p>\n<p><strong>PIL\u5e93\u652f\u6301\u54ea\u4e9b\u56fe\u50cf\u683c\u5f0f\uff1f<\/strong><br \/>PIL\u5e93\u652f\u6301\u591a\u79cd\u56fe\u50cf\u683c\u5f0f\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8eJPEG\u3001PNG\u3001BMP\u3001GIF\u548cTIFF\u7b49\u3002\u7528\u6237\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u9009\u62e9\u4e0d\u540c\u7684\u683c\u5f0f\u8fdb\u884c\u5b58\u50a8\u6216\u8f6c\u6362\u3002\u901a\u8fc7PIL\u7684\u529f\u80fd\uff0c\u7528\u6237\u53ef\u4ee5\u5728\u4e0d\u540c\u683c\u5f0f\u4e4b\u95f4\u81ea\u7531\u8f6c\u6362\uff0c\u540c\u65f6\u4fdd\u6301\u56fe\u50cf\u8d28\u91cf\u3002<\/p>\n<p><strong>\u5982\u4f55\u901a\u8fc7PIL\u5e93\u8c03\u6574JPG\u56fe\u50cf\u7684\u5927\u5c0f\u548c\u8d28\u91cf\uff1f<\/strong><br \/>\u4f7f\u7528PIL\u5e93\u53ef\u4ee5\u65b9\u4fbf\u5730\u8c03\u6574\u56fe\u50cf\u7684\u5927\u5c0f\u548c\u8d28\u91cf\u3002\u53ef\u4ee5\u901a\u8fc7<code>img.resize((width, height))<\/code>\u65b9\u6cd5\u6765\u8c03\u6574\u56fe\u50cf\u7684\u5927\u5c0f\u3002\u5728\u4fdd\u5b58\u56fe\u50cf\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7<code>img.save(&#39;image.jpg&#39;, quality=90)<\/code>\u6765\u8bbe\u5b9a\u56fe\u50cf\u7684\u8d28\u91cf\u53c2\u6570\uff0c\u8d28\u91cf\u8303\u56f4\u901a\u5e38\u4e3a1\u5230100\uff0c\u6570\u503c\u8d8a\u9ad8\u8868\u793a\u56fe\u50cf\u8d28\u91cf\u8d8a\u597d\uff0c\u4f46\u6587\u4ef6\u5927\u5c0f\u4e5f\u76f8\u5e94\u589e\u52a0\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u6279\u91cf\u5904\u7406JPG\u56fe\u50cf\uff1f<\/strong><br \/>\u901a\u8fc7PIL\u5e93\u53ef\u4ee5\u5b9e\u73b0\u6279\u91cf\u5904\u7406JPG\u56fe\u50cf\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528<code>os<\/code>\u6a21\u5757\u904d\u5386\u4e00\u4e2a\u6587\u4ef6\u5939\u4e2d\u7684\u6240\u6709JPG\u6587\u4ef6\uff0c\u5e76\u5bf9\u6bcf\u4e2a\u6587\u4ef6\u5e94\u7528\u76f8\u540c\u7684\u5904\u7406\u903b\u8f91\u3002\u5177\u4f53\u5b9e\u73b0\u4e2d\uff0c\u53ef\u4ee5\u7ed3\u5408<code>Image.open()<\/code>\u548c\u5faa\u73af\u7ed3\u6784\u6765\u6253\u5f00\u6bcf\u4e2a\u56fe\u50cf\u8fdb\u884c\u64cd\u4f5c\uff0c\u6700\u540e\u4fdd\u5b58\u5904\u7406\u540e\u7684\u56fe\u50cf\u5230\u6307\u5b9a\u76ee\u5f55\u3002\u8fd9\u79cd\u65b9\u6cd5\u80fd\u591f\u9ad8\u6548\u5730\u5904\u7406\u5927\u91cf\u56fe\u50cf\uff0c\u8282\u7701\u65f6\u95f4\u548c\u7cbe\u529b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4f7f\u7528PIL\u5c06JPG\u56fe\u7247\u5904\u7406\u4e3a\u5176\u4ed6\u683c\u5f0f\u3001\u8c03\u6574\u5927\u5c0f\u3001\u65cb\u8f6c\u56fe\u7247 \u5728Python\u4e2d\uff0c\u4f7f\u7528PIL\uff08Pillow\uff09\u5e93\u53ef\u4ee5\u8f7b [&hellip;]","protected":false},"author":3,"featured_media":1060660,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1060645"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1060645"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1060645\/revisions"}],"predecessor-version":[{"id":1060663,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1060645\/revisions\/1060663"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1060660"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1060645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1060645"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1060645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}