{"id":1090541,"date":"2025-01-08T14:03:36","date_gmt":"2025-01-08T06:03:36","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1090541.html"},"modified":"2025-01-08T14:03:36","modified_gmt":"2025-01-08T06:03:36","slug":"%e7%94%a8python%e5%a6%82%e4%bd%95%e5%81%9a%e6%96%87%e5%ad%97%e6%b5%b7%e6%8a%a5-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1090541.html","title":{"rendered":"\u7528Python\u5982\u4f55\u505a\u6587\u5b57\u6d77\u62a5"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24203144\/7c1daf5d-0700-46f9-a942-11228ddb0324.webp\" alt=\"\u7528Python\u5982\u4f55\u505a\u6587\u5b57\u6d77\u62a5\" \/><\/p>\n<p><p> <strong>\u7528Python\u5236\u4f5c\u6587\u5b57\u6d77\u62a5\u7684\u65b9\u6cd5\u6709\u5f88\u591a\uff0c\u5e38\u89c1\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528Pillow\u5e93\u8fdb\u884c\u56fe\u50cf\u5904\u7406\u3001\u4f7f\u7528Matplotlib\u5e93\u8fdb\u884c\u56fe\u8868\u7ed8\u5236\u3001\u7ed3\u5408Numpy\u8fdb\u884c\u9ad8\u7ea7\u56fe\u50cf\u5904\u7406\u7b49\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u5236\u4f5c\u6587\u5b57\u6d77\u62a5\uff0c\u5e76\u5bf9\u5176\u4e2d\u7684Pillow\u5e93\u8fdb\u884c\u8be6\u7ec6\u8bb2\u89e3\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u4e00\u3001Pillow\u5e93\u4ecb\u7ecd\u4e0e\u5b89\u88c5<\/h3>\n<\/p>\n<p><p>Pillow\u662fPython\u4e2d\u4e00\u4e2a\u975e\u5e38\u6d41\u884c\u7684\u56fe\u50cf\u5904\u7406\u5e93\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u8fdb\u884c\u56fe\u50cf\u7684\u6253\u5f00\u3001\u4fee\u6539\u548c\u4fdd\u5b58\u3002\u5b83\u662fPython Imaging Library (PIL) \u7684\u4e00\u4e2a\u5206\u652f\uff0c\u63d0\u4f9b\u4e86\u5f88\u591a\u5b9e\u7528\u7684\u56fe\u50cf\u5904\u7406\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5Pillow\u5e93<\/h4>\n<\/p>\n<p><p>\u5728\u5f00\u59cb\u4f7f\u7528Pillow\u4e4b\u524d\uff0c\u6211\u4eec\u9700\u8981\u5148\u5b89\u88c5\u5b83\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pillow<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5728Python\u4e2d\u5bfc\u5165\u5e76\u4f7f\u7528Pillow\u5e93\u4e86\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528Pillow\u5236\u4f5c\u6587\u5b57\u6d77\u62a5<\/h3>\n<\/p>\n<p><h4>1\u3001\u521b\u5efa\u7a7a\u767d\u56fe\u50cf<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u521b\u5efa\u4e00\u5f20\u7a7a\u767d\u7684\u56fe\u50cf\u4f5c\u4e3a\u6d77\u62a5\u7684\u80cc\u666f\u3002\u53ef\u4ee5\u4f7f\u7528Pillow\u7684<code>Image<\/code>\u6a21\u5757\u6765\u521b\u5efa\u4e00\u5f20\u6307\u5b9a\u5927\u5c0f\u548c\u989c\u8272\u7684\u56fe\u50cf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image, ImageDraw, ImageFont<\/p>\n<h2><strong>\u521b\u5efa\u7a7a\u767d\u56fe\u50cf\uff0c\u5c3a\u5bf8\u4e3a800x600\uff0c\u80cc\u666f\u8272\u4e3a\u767d\u8272<\/strong><\/h2>\n<p>image = Image.new(&#39;RGB&#39;, (800, 600), &#39;white&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u7ed8\u5236\u6587\u5b57<\/h4>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u4f7f\u7528<code>ImageDraw<\/code>\u6a21\u5757\u6765\u7ed8\u5236\u6587\u5b57\u3002\u53ef\u4ee5\u6307\u5b9a\u6587\u5b57\u7684\u5b57\u4f53\u3001\u5927\u5c0f\u548c\u989c\u8272\u7b49\u5c5e\u6027\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u7ed8\u56fe\u5bf9\u8c61<\/p>\n<p>draw = ImageDraw.Draw(image)<\/p>\n<h2><strong>\u8bbe\u7f6e\u5b57\u4f53<\/strong><\/h2>\n<p>font = ImageFont.truetype(&quot;arial.ttf&quot;, 40)<\/p>\n<h2><strong>\u7ed8\u5236\u6587\u5b57<\/strong><\/h2>\n<p>draw.text((100, 100), &quot;Hello, World!&quot;, fill=&quot;black&quot;, font=font)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u4fdd\u5b58\u56fe\u50cf<\/h4>\n<\/p>\n<p><p>\u7ed8\u5236\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u56fe\u50cf\u4fdd\u5b58\u5230\u6587\u4ef6\u4e2d\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4fdd\u5b58\u56fe\u50cf<\/p>\n<p>image.save(&#39;poster.png&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u66f4\u591a\u9ad8\u7ea7\u529f\u80fd<\/h3>\n<\/p>\n<p><h4>1\u3001\u6dfb\u52a0\u56fe\u7247<\/h4>\n<\/p>\n<p><p>\u6211\u4eec\u8fd8\u53ef\u4ee5\u5728\u6d77\u62a5\u4e2d\u6dfb\u52a0\u5176\u4ed6\u56fe\u7247\u3002\u53ef\u4ee5\u4f7f\u7528<code>Image<\/code>\u6a21\u5757\u7684<code>paste<\/code>\u65b9\u6cd5\u5c06\u4e00\u5f20\u56fe\u7247\u7c98\u8d34\u5230\u6d77\u62a5\u4e0a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u6253\u5f00\u8981\u6dfb\u52a0\u7684\u56fe\u7247<\/p>\n<p>logo = Image.open(&#39;logo.png&#39;)<\/p>\n<h2><strong>\u7c98\u8d34\u56fe\u7247\u5230\u6d77\u62a5\u4e0a<\/strong><\/h2>\n<p>image.paste(logo, (50, 50))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u7ed8\u5236\u5f62\u72b6<\/h4>\n<\/p>\n<p><p>\u9664\u4e86\u6587\u5b57\u548c\u56fe\u7247\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u7ed8\u5236\u5404\u79cd\u5f62\u72b6\uff0c\u5982\u77e9\u5f62\u3001\u5706\u5f62\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u7ed8\u5236\u77e9\u5f62<\/p>\n<p>draw.rectangle((200, 200, 400, 400), outline=&quot;black&quot;, width=5)<\/p>\n<h2><strong>\u7ed8\u5236\u5706\u5f62<\/strong><\/h2>\n<p>draw.ellipse((450, 200, 600, 350), outline=&quot;blue&quot;, width=5)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u8c03\u6574\u56fe\u50cf\u5927\u5c0f\u548c\u65cb\u8f6c<\/h4>\n<\/p>\n<p><p>Pillow\u8fd8\u63d0\u4f9b\u4e86\u8c03\u6574\u56fe\u50cf\u5927\u5c0f\u548c\u65cb\u8f6c\u7b49\u529f\u80fd\uff0c\u53ef\u4ee5\u66f4\u52a0\u7075\u6d3b\u5730\u5904\u7406\u56fe\u50cf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u8c03\u6574\u56fe\u50cf\u5927\u5c0f<\/p>\n<p>resized_image = image.resize((400, 300))<\/p>\n<h2><strong>\u65cb\u8f6c\u56fe\u50cf<\/strong><\/h2>\n<p>rotated_image = image.rotate(45)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001Matplotlib\u5e93\u4ecb\u7ecd\u4e0e\u5e94\u7528<\/h3>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5Matplotlib\u5e93<\/h4>\n<\/p>\n<p><p>Matplotlib\u662fPython\u4e2d\u4e00\u4e2a\u5f3a\u5927\u7684\u7ed8\u56fe\u5e93\uff0c\u5e38\u7528\u4e8e\u7ed8\u5236\u56fe\u8868\u548c\u6570\u636e\u53ef\u89c6\u5316\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Matplotlib\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install matplotlib<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u7ed8\u5236\u7b80\u5355\u6d77\u62a5<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528Matplotlib\uff0c\u6211\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u7ed8\u5236\u5404\u79cd\u56fe\u8868\uff0c\u5e76\u5c06\u5176\u4fdd\u5b58\u4e3a\u56fe\u50cf\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<h2><strong>\u521b\u5efa\u56fe\u8868<\/strong><\/h2>\n<p>fig, ax = plt.subplots()<\/p>\n<h2><strong>\u7ed8\u5236\u6587\u5b57<\/strong><\/h2>\n<p>ax.text(0.5, 0.5, &#39;Hello, World!&#39;, fontsize=40, ha=&#39;center&#39;, va=&#39;center&#39;)<\/p>\n<h2><strong>\u4fdd\u5b58\u56fe\u50cf<\/strong><\/h2>\n<p>plt.savefig(&#39;poster_matplotlib.png&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u7ed3\u5408Numpy\u8fdb\u884c\u9ad8\u7ea7\u56fe\u50cf\u5904\u7406<\/h3>\n<\/p>\n<p><p>Numpy\u662fPython\u4e2d\u4e00\u4e2a\u5f3a\u5927\u7684\u6570\u503c\u8ba1\u7b97\u5e93\uff0c\u53ef\u4ee5\u9ad8\u6548\u5730\u8fdb\u884c\u6570\u7ec4\u548c\u77e9\u9635\u8fd0\u7b97\u3002\u7ed3\u5408Numpy\uff0c\u6211\u4eec\u53ef\u4ee5\u8fdb\u884c\u66f4\u52a0\u9ad8\u7ea7\u7684\u56fe\u50cf\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5Numpy\u5e93<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Numpy\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install numpy<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u4f7f\u7528Numpy\u8fdb\u884c\u56fe\u50cf\u5904\u7406<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u5c06\u56fe\u50cf\u8f6c\u6362\u4e3aNumpy\u6570\u7ec4\uff0c\u8fdb\u884c\u5404\u79cd\u6570\u7ec4\u64cd\u4f5c\u540e\u518d\u8f6c\u6362\u56de\u56fe\u50cf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u5c06\u56fe\u50cf\u8f6c\u6362\u4e3aNumpy\u6570\u7ec4<\/strong><\/h2>\n<p>image_array = np.array(image)<\/p>\n<h2><strong>\u5bf9\u56fe\u50cf\u8fdb\u884c\u5904\u7406<\/strong><\/h2>\n<p>processed_array = image_array \/\/ 2  # \u964d\u4f4e\u4eae\u5ea6<\/p>\n<h2><strong>\u5c06Numpy\u6570\u7ec4\u8f6c\u6362\u56de\u56fe\u50cf<\/strong><\/h2>\n<p>processed_image = Image.fromarray(processed_array)<\/p>\n<h2><strong>\u4fdd\u5b58\u56fe\u50cf<\/strong><\/h2>\n<p>processed_image.save(&#39;processed_poster.png&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u603b\u7ed3\u4e0e\u5e94\u7528\u573a\u666f<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u4ecb\u7ecd\uff0c\u6211\u4eec\u4e86\u89e3\u4e86\u5982\u4f55\u4f7f\u7528Python\u5236\u4f5c\u6587\u5b57\u6d77\u62a5\u7684\u57fa\u672c\u65b9\u6cd5\u548c\u4e00\u4e9b\u9ad8\u7ea7\u529f\u80fd\u3002<strong>Pillow\u5e93\u9002\u7528\u4e8e\u7b80\u5355\u7684\u56fe\u50cf\u5904\u7406\u548c\u6587\u5b57\u7ed8\u5236\uff0cMatplotlib\u5e93\u9002\u7528\u4e8e\u7ed8\u5236\u56fe\u8868\u548c\u6570\u636e\u53ef\u89c6\u5316\uff0cNumpy\u5e93\u9002\u7528\u4e8e\u9ad8\u7ea7\u7684\u56fe\u50cf\u5904\u7406\u548c\u6570\u7ec4\u8fd0\u7b97\u3002<\/strong>\u8fd9\u4e9b\u5de5\u5177\u7ed3\u5408\u4f7f\u7528\uff0c\u53ef\u4ee5\u6ee1\u8db3\u5927\u591a\u6570\u6587\u5b57\u6d77\u62a5\u5236\u4f5c\u7684\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5e94\u7528\u573a\u666f<\/h4>\n<\/p>\n<ul>\n<li><strong>\u5e02\u573a\u8425\u9500\uff1a<\/strong> \u5236\u4f5c\u5ba3\u4f20\u6d77\u62a5\u3001\u5e7f\u544a\u56fe\u7247\u7b49\u3002<\/li>\n<li><strong>\u6559\u80b2\u57f9\u8bad\uff1a<\/strong> \u5236\u4f5c\u8bfe\u7a0b\u6d77\u62a5\u3001\u8bb2\u4e49\u5c01\u9762\u7b49\u3002<\/li>\n<li><strong>\u793e\u4ea4\u5a92\u4f53\uff1a<\/strong> \u5236\u4f5c\u793e\u4ea4\u5a92\u4f53\u53d1\u5e03\u7684\u56fe\u7247\u3001\u6d77\u62a5\u7b49\u3002<\/li>\n<\/ul>\n<p><h4>2\u3001\u5b9e\u8df5\u5efa\u8bae<\/h4>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\u548c\u65b9\u6cd5\u3002\u5bf9\u4e8e\u7b80\u5355\u7684\u6587\u5b57\u6d77\u62a5\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528Pillow\u5e93\u8fdb\u884c\u5feb\u901f\u5236\u4f5c\uff1b\u5bf9\u4e8e\u9700\u8981\u7ed8\u5236\u56fe\u8868\u7684\u6d77\u62a5\uff0c\u53ef\u4ee5\u7ed3\u5408Matplotlib\u5e93\u8fdb\u884c\u5904\u7406\uff1b\u5bf9\u4e8e\u590d\u6742\u7684\u56fe\u50cf\u5904\u7406\u9700\u6c42\uff0c\u53ef\u4ee5\u4f7f\u7528Numpy\u5e93\u8fdb\u884c\u9ad8\u7ea7\u5904\u7406\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0d\u65ad\u5b9e\u8df5\u548c\u63a2\u7d22\uff0c\u53ef\u4ee5\u638c\u63e1\u66f4\u591a\u7684\u56fe\u50cf\u5904\u7406\u6280\u5de7\uff0c\u5236\u4f5c\u51fa\u66f4\u52a0\u7cbe\u7f8e\u7684\u6587\u5b57\u6d77\u62a5\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u521b\u5efa\u6587\u5b57\u6d77\u62a5\uff1f<\/strong><br \/>\u4f7f\u7528Python\u521b\u5efa\u6587\u5b57\u6d77\u62a5\u53ef\u4ee5\u901a\u8fc7\u591a\u4e2a\u5e93\u5b9e\u73b0\uff0c\u4f8b\u5982PIL\uff08Pillow\uff09\u548cMatplotlib\u3002PIL\u5e93\u5141\u8bb8\u7528\u6237\u5904\u7406\u56fe\u50cf\u5e76\u6dfb\u52a0\u6587\u672c\uff0c\u800cMatplotlib\u53ef\u4ee5\u7528\u6765\u7ed8\u5236\u56fe\u5f62\u548c\u6587\u672c\u3002\u53ef\u4ee5\u9009\u62e9\u5408\u9002\u7684\u5e93\uff0c\u6839\u636e\u9879\u76ee\u9700\u6c42\u8fdb\u884c\u8bbe\u8ba1\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\u5bfc\u5165\u5e93\u3001\u521b\u5efa\u753b\u5e03\u3001\u9009\u62e9\u5b57\u4f53\u3001\u8bbe\u7f6e\u6587\u5b57\u4f4d\u7f6e\u53ca\u989c\u8272\u7b49\u3002<\/p>\n<p><strong>\u6709\u54ea\u4e9bPython\u5e93\u63a8\u8350\u7528\u4e8e\u8bbe\u8ba1\u6587\u5b57\u6d77\u62a5\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0cPillow\u662f\u6700\u5e38\u7528\u7684\u56fe\u50cf\u5904\u7406\u5e93\uff0c\u9002\u5408\u8fdb\u884c\u6587\u5b57\u6d77\u62a5\u7684\u521b\u5efa\u3002\u6b64\u5916\uff0cMatplotlib\u4e0d\u4ec5\u53ef\u4ee5\u7528\u4e8e\u7ed8\u56fe\uff0c\u8fd8\u53ef\u4ee5\u6dfb\u52a0\u6587\u672c\uff0c\u9002\u5408\u5236\u4f5c\u6570\u636e\u53ef\u89c6\u5316\u7684\u6d77\u62a5\u3002\u5176\u4ed6\u5e93\u5982OpenCV\u4e5f\u53ef\u4ee5\u7528\u4e8e\u66f4\u590d\u6742\u7684\u56fe\u50cf\u5904\u7406\u3002\u6839\u636e\u4e2a\u4eba\u9700\u6c42\uff0c\u9009\u62e9\u5408\u9002\u7684\u5e93\u8fdb\u884c\u6d77\u62a5\u8bbe\u8ba1\u3002<\/p>\n<p><strong>\u5236\u4f5c\u6587\u5b57\u6d77\u62a5\u9700\u8981\u54ea\u4e9b\u57fa\u672c\u7684\u8bbe\u8ba1\u8981\u7d20\uff1f<\/strong><br \/>\u5236\u4f5c\u6587\u5b57\u6d77\u62a5\u65f6\uff0c\u51e0\u4e2a\u5173\u952e\u8981\u7d20\u9700\u8981\u8003\u8651\uff1a\u5b57\u4f53\u9009\u62e9\u3001\u6587\u5b57\u5927\u5c0f\u3001\u989c\u8272\u642d\u914d\u3001\u80cc\u666f\u8bbe\u8ba1\u548c\u6574\u4f53\u5e03\u5c40\u3002\u786e\u4fdd\u6587\u5b57\u6613\u8bfb\u4e14\u5438\u5f15\u4eba\uff0c\u80cc\u666f\u8981\u4e0e\u6587\u5b57\u5f62\u6210\u5bf9\u6bd4\uff0c\u4ee5\u7a81\u663e\u4fe1\u606f\u3002\u6b64\u5916\uff0c\u7559\u767d\u8bbe\u8ba1\u4e5f\u662f\u91cd\u8981\u7684\u5143\u7d20\uff0c\u53ef\u4ee5\u4f7f\u6d77\u62a5\u770b\u8d77\u6765\u66f4\u6574\u6d01\u548c\u4e13\u4e1a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u7528Python\u5236\u4f5c\u6587\u5b57\u6d77\u62a5\u7684\u65b9\u6cd5\u6709\u5f88\u591a\uff0c\u5e38\u89c1\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528Pillow\u5e93\u8fdb\u884c\u56fe\u50cf\u5904\u7406\u3001\u4f7f\u7528Matplotlib [&hellip;]","protected":false},"author":3,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1090541"}],"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=1090541"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1090541\/revisions"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1090541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1090541"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1090541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}