{"id":989128,"date":"2024-12-27T08:08:42","date_gmt":"2024-12-27T00:08:42","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/989128.html"},"modified":"2024-12-27T08:08:44","modified_gmt":"2024-12-27T00:08:44","slug":"python%e5%a6%82%e4%bd%95%e8%bf%90%e8%a1%8cpng%e6%96%87%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/989128.html","title":{"rendered":"python\u5982\u4f55\u8fd0\u884cpng\u6587\u4ef6"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25064457\/b694d786-5d1a-479e-a78d-44618aea38f0.webp\" alt=\"python\u5982\u4f55\u8fd0\u884cpng\u6587\u4ef6\" \/><\/p>\n<p><p> <strong>\u8981\u5728Python\u4e2d\u8fd0\u884cPNG\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528\u56fe\u50cf\u5904\u7406\u5e93\u6765\u6253\u5f00\u548c\u64cd\u4f5cPNG\u6587\u4ef6\u3001\u4f7f\u7528Pillow\u5e93\u3001\u7528matplotlib\u5e93\u663e\u793a\u56fe\u50cf\u3002<\/strong> \u5176\u4e2d\uff0cPillow\u5e93\u662fPython Imaging Library\u7684\u4e00\u4e2a\u5206\u652f\uff0c\u63d0\u4f9b\u4e86\u7b80\u5355\u800c\u5f3a\u5927\u7684\u5de5\u5177\u6765\u5904\u7406\u56fe\u50cf\u6587\u4ef6\u683c\u5f0f\u3002\u4ee5\u4e0b\u662f\u5982\u4f55\u4f7f\u7528Pillow\u5e93\u6765\u6253\u5f00\u548c\u663e\u793aPNG\u6587\u4ef6\u7684\u8be6\u7ec6\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001\u5b89\u88c5Pillow\u5e93<\/h2>\n<\/p>\n<p><p>\u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u786e\u4fdd\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86Pillow\u5e93\u3002\u5982\u679c\u6ca1\u6709\u5b89\u88c5\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u901a\u8fc7pip\u6765\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>Pillow\u662fPython\u7684\u4e00\u4e2a\u56fe\u50cf\u5904\u7406\u5e93\uff0c\u652f\u6301\u6253\u5f00\u3001\u64cd\u4f5c\u548c\u4fdd\u5b58\u591a\u79cd\u683c\u5f0f\u7684\u56fe\u50cf\u6587\u4ef6\u3002\u5b83\u63d0\u4f9b\u4e86\u56fe\u50cf\u8f6c\u6362\u3001\u6ee4\u955c\u5e94\u7528\u3001\u56fe\u50cf\u589e\u5f3a\u7b49\u591a\u79cd\u529f\u80fd\uff0c\u662f\u5904\u7406\u56fe\u50cf\u7684\u7406\u60f3\u5de5\u5177\u3002<\/p>\n<\/p>\n<p><h2>\u4e8c\u3001\u6253\u5f00\u548c\u663e\u793aPNG\u6587\u4ef6<\/h2>\n<\/p>\n<p><h3>\u4f7f\u7528Pillow\u5e93\u6253\u5f00PNG\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>Pillow\u5e93\u63d0\u4f9b\u4e86\u7b80\u5355\u7684\u65b9\u6cd5\u6765\u6253\u5f00\u548c\u67e5\u770b\u56fe\u50cf\u6587\u4ef6\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff0c\u5c55\u793a\u5982\u4f55\u4f7f\u7528Pillow\u5e93\u6765\u6253\u5f00\u548c\u663e\u793aPNG\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image<\/p>\n<h2><strong>\u6253\u5f00PNG\u6587\u4ef6<\/strong><\/h2>\n<p>image = Image.open(&#39;example.png&#39;)<\/p>\n<h2><strong>\u663e\u793a\u56fe\u50cf<\/strong><\/h2>\n<p>image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u5bfc\u5165\u4e86Image\u6a21\u5757\uff0c\u7136\u540e\u4f7f\u7528<code>Image.open()<\/code>\u65b9\u6cd5\u6253\u5f00\u6307\u5b9a\u8def\u5f84\u7684PNG\u6587\u4ef6\u3002\u63a5\u7740\uff0c\u4f7f\u7528<code>image.show()<\/code>\u65b9\u6cd5\u5728\u9ed8\u8ba4\u56fe\u50cf\u67e5\u770b\u5668\u4e2d\u663e\u793a\u56fe\u50cf\u3002<\/p>\n<\/p>\n<p><h3>\u4f7f\u7528Pillow\u5e93\u83b7\u53d6PNG\u6587\u4ef6\u4fe1\u606f<\/h3>\n<\/p>\n<p><p>\u9664\u4e86\u6253\u5f00\u548c\u663e\u793a\u56fe\u50cf\uff0cPillow\u5e93\u8fd8\u53ef\u4ee5\u7528\u6765\u83b7\u53d6\u56fe\u50cf\u7684\u76f8\u5173\u4fe1\u606f\uff0c\u4f8b\u5982\u56fe\u50cf\u7684\u683c\u5f0f\u3001\u5c3a\u5bf8\u548c\u6a21\u5f0f\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\u5f00PNG\u6587\u4ef6<\/strong><\/h2>\n<p>image = Image.open(&#39;example.png&#39;)<\/p>\n<h2><strong>\u83b7\u53d6\u56fe\u50cf\u4fe1\u606f<\/strong><\/h2>\n<p>print(&quot;\u56fe\u50cf\u683c\u5f0f:&quot;, image.format)<\/p>\n<p>print(&quot;\u56fe\u50cf\u5c3a\u5bf8:&quot;, image.size)<\/p>\n<p>print(&quot;\u56fe\u50cf\u6a21\u5f0f:&quot;, image.mode)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>image.format<\/code>\u8fd4\u56de\u56fe\u50cf\u7684\u683c\u5f0f\uff0c<code>image.size<\/code>\u8fd4\u56de\u56fe\u50cf\u7684\u5c3a\u5bf8\uff08\u5bbd\u5ea6\u548c\u9ad8\u5ea6\uff09\uff0c<code>image.mode<\/code>\u8fd4\u56de\u56fe\u50cf\u7684\u6a21\u5f0f\uff08\u6bd4\u5982RGB\u3001RGBA\u7b49\uff09\u3002<\/p>\n<\/p>\n<p><h2>\u4e09\u3001\u4f7f\u7528matplotlib\u5e93\u663e\u793aPNG\u6587\u4ef6<\/h2>\n<\/p>\n<p><p>\u9664\u4e86Pillow\u5e93\uff0cmatplotlib\u4e5f\u662f\u4e00\u4e2a\u5e38\u7528\u6765\u663e\u793a\u56fe\u50cf\u7684\u5e93\uff0c\u5c24\u5176\u662f\u5728\u6570\u636e\u5206\u6790\u548c\u79d1\u5b66\u8ba1\u7b97\u9886\u57df\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528matplotlib\u663e\u793aPNG\u6587\u4ef6\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>import matplotlib.image as mpimg<\/p>\n<h2><strong>\u8bfb\u53d6PNG\u6587\u4ef6<\/strong><\/h2>\n<p>img = mpimg.imread(&#39;example.png&#39;)<\/p>\n<h2><strong>\u663e\u793a\u56fe\u50cf<\/strong><\/h2>\n<p>plt.imshow(img)<\/p>\n<p>plt.axis(&#39;off&#39;)  # \u9690\u85cf\u5750\u6807\u8f74<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>mpimg.imread()<\/code>\u8bfb\u53d6PNG\u6587\u4ef6\uff0c\u7136\u540e\u4f7f\u7528<code>plt.imshow()<\/code>\u663e\u793a\u56fe\u50cf\u3002<code>plt.axis(&#39;off&#39;)<\/code>\u7528\u4e8e\u9690\u85cf\u5750\u6807\u8f74\uff0c\u4f7f\u56fe\u50cf\u663e\u793a\u66f4\u52a0\u6e05\u6670\u3002<\/p>\n<\/p>\n<p><h2>\u56db\u3001\u64cd\u4f5cPNG\u6587\u4ef6<\/h2>\n<\/p>\n<p><h3>\u4fee\u6539PNG\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>Pillow\u5e93\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u6cd5\u6765\u4fee\u6539\u56fe\u50cf\uff0c\u4f8b\u5982\u8c03\u6574\u5c3a\u5bf8\u3001\u65cb\u8f6c\u3001\u5e94\u7528\u6ee4\u955c\u7b49\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u64cd\u4f5c\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><h4>\u8c03\u6574\u56fe\u50cf\u5c3a\u5bf8<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image<\/p>\n<h2><strong>\u6253\u5f00PNG\u6587\u4ef6<\/strong><\/h2>\n<p>image = Image.open(&#39;example.png&#39;)<\/p>\n<h2><strong>\u8c03\u6574\u56fe\u50cf\u5c3a\u5bf8<\/strong><\/h2>\n<p>resized_image = image.resize((200, 200))<\/p>\n<h2><strong>\u663e\u793a\u8c03\u6574\u540e\u7684\u56fe\u50cf<\/strong><\/h2>\n<p>resized_image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u65cb\u8f6c\u56fe\u50cf<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image<\/p>\n<h2><strong>\u6253\u5f00PNG\u6587\u4ef6<\/strong><\/h2>\n<p>image = Image.open(&#39;example.png&#39;)<\/p>\n<h2><strong>\u65cb\u8f6c\u56fe\u50cf<\/strong><\/h2>\n<p>rotated_image = image.rotate(45)<\/p>\n<h2><strong>\u663e\u793a\u65cb\u8f6c\u540e\u7684\u56fe\u50cf<\/strong><\/h2>\n<p>rotated_image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u5e94\u7528\u6ee4\u955c<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image, ImageFilter<\/p>\n<h2><strong>\u6253\u5f00PNG\u6587\u4ef6<\/strong><\/h2>\n<p>image = Image.open(&#39;example.png&#39;)<\/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\u5e94\u7528\u6ee4\u955c\u540e\u7684\u56fe\u50cf<\/strong><\/h2>\n<p>blurred_image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4fdd\u5b58\u4fee\u6539\u540e\u7684PNG\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>\u5728\u5bf9\u56fe\u50cf\u8fdb\u884c\u4fee\u6539\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528<code>save()<\/code>\u65b9\u6cd5\u5c06\u4fee\u6539\u540e\u7684\u56fe\u50cf\u4fdd\u5b58\u5230\u6587\u4ef6\u4e2d\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\u5f00PNG\u6587\u4ef6<\/strong><\/h2>\n<p>image = Image.open(&#39;example.png&#39;)<\/p>\n<h2><strong>\u8c03\u6574\u56fe\u50cf\u5c3a\u5bf8<\/strong><\/h2>\n<p>resized_image = image.resize((200, 200))<\/p>\n<h2><strong>\u4fdd\u5b58\u8c03\u6574\u540e\u7684\u56fe\u50cf<\/strong><\/h2>\n<p>resized_image.save(&#39;resized_example.png&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u5c06\u8c03\u6574\u5c3a\u5bf8\u540e\u7684\u56fe\u50cf\u4fdd\u5b58\u4e3a\u4e00\u4e2a\u65b0\u7684PNG\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h2>\u4e94\u3001\u603b\u7ed3<\/h2>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u5728Python\u4e2d\u6253\u5f00\u3001\u663e\u793a\u548c\u64cd\u4f5cPNG\u6587\u4ef6\u3002Pillow\u5e93\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u5de5\u5177\u6765\u5904\u7406\u5404\u79cd\u56fe\u50cf\u683c\u5f0f\uff0c\u800cmatplotlib\u5e93\u5219\u662f\u6570\u636e\u53ef\u89c6\u5316\u548c\u56fe\u50cf\u663e\u793a\u7684\u7406\u60f3\u9009\u62e9\u3002\u901a\u8fc7\u7ed3\u5408\u8fd9\u4e24\u4e2a\u5e93\uff0c\u6211\u4eec\u53ef\u4ee5\u5b9e\u73b0\u5bf9PNG\u6587\u4ef6\u7684\u591a\u79cd\u64cd\u4f5c\u548c\u5904\u7406\u3002\u65e0\u8bba\u662f\u5728\u6570\u636e\u5206\u6790\u3001<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u8fd8\u662f\u56fe\u50cf\u5904\u7406\u9886\u57df\uff0c\u8fd9\u4e9b\u6280\u672f\u90fd\u80fd\u63d0\u4f9b\u5f3a\u5927\u7684\u652f\u6301\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u8bfb\u53d6\u548c\u663e\u793aPNG\u6587\u4ef6\uff1f<\/strong><br \/>\u4f7f\u7528Python\u8bfb\u53d6\u548c\u663e\u793aPNG\u6587\u4ef6\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u5e93\u6765\u5b9e\u73b0\u3002\u6700\u5e38\u7528\u7684\u5e93\u662fPIL\uff08Pillow\uff09\u548cMatplotlib\u3002\u9996\u5148\uff0c\u786e\u4fdd\u5b89\u88c5\u4e86\u8fd9\u4e9b\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pip install Pillow matplotlib<\/code>\u8fdb\u884c\u5b89\u88c5\u3002\u7136\u540e\uff0c\u4f7f\u7528Pillow\u5e93\u53ef\u4ee5\u8f7b\u677e\u6253\u5f00\u548c\u663e\u793aPNG\u6587\u4ef6\uff0c\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-python\">from PIL import Image\nimport matplotlib.pyplot as plt\n\n# \u6253\u5f00PNG\u6587\u4ef6\nimg = Image.open(&#39;your_image.png&#39;)\n# \u663e\u793a\u56fe\u7247\nplt.imshow(img)\nplt.axis(&#39;off&#39;)  # \u4e0d\u663e\u793a\u5750\u6807\u8f74\nplt.show()\n<\/code><\/pre>\n<p>\u8fd9\u6837\u5c31\u53ef\u4ee5\u6210\u529f\u8bfb\u53d6\u5e76\u663e\u793aPNG\u6587\u4ef6\u3002<\/p>\n<p><strong>Python\u662f\u5426\u652f\u6301\u5bf9PNG\u6587\u4ef6\u8fdb\u884c\u7f16\u8f91\uff1f<\/strong><br \/>\u662f\u7684\uff0cPython\u53ef\u4ee5\u5bf9PNG\u6587\u4ef6\u8fdb\u884c\u7f16\u8f91\u3002\u4f7f\u7528Pillow\u5e93\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u6267\u884c\u5404\u79cd\u64cd\u4f5c\uff0c\u4f8b\u5982\u88c1\u526a\u3001\u65cb\u8f6c\u3001\u8c03\u6574\u5927\u5c0f\u548c\u6dfb\u52a0\u6587\u672c\u7b49\u3002\u4f8b\u5982\uff0c\u4ee5\u4e0b\u4ee3\u7801\u5c55\u793a\u4e86\u5982\u4f55\u5c06PNG\u6587\u4ef6\u88c1\u526a\u6210\u6307\u5b9a\u533a\u57df\uff1a<\/p>\n<pre><code class=\"language-python\">from PIL import Image\n\n# \u6253\u5f00PNG\u6587\u4ef6\nimg = Image.open(&#39;your_image.png&#39;)\n# \u5b9a\u4e49\u88c1\u526a\u533a\u57df\uff08\u5de6\uff0c\u4e0a\uff0c\u53f3\uff0c\u4e0b\uff09\ncrop_area = (100, 100, 400, 400)\n# \u88c1\u526a\u56fe\u7247\ncropped_img = img.crop(crop_area)\n# \u4fdd\u5b58\u88c1\u526a\u540e\u7684\u56fe\u7247\ncropped_img.save(&#39;cropped_image.png&#39;)\n<\/code><\/pre>\n<p>\u8fd9\u6837\uff0c\u60a8\u53ef\u4ee5\u65b9\u4fbf\u5730\u7f16\u8f91PNG\u6587\u4ef6\uff0c\u6ee1\u8db3\u4e0d\u540c\u7684\u9700\u6c42\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u8f6c\u6362PNG\u6587\u4ef6\u7684\u683c\u5f0f\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u8f6c\u6362PNG\u6587\u4ef6\u683c\u5f0f\u4e5f\u975e\u5e38\u7b80\u5355\uff0cPillow\u5e93\u63d0\u4f9b\u4e86\u76f4\u63a5\u7684\u652f\u6301\u3002\u60a8\u53ef\u4ee5\u5c06PNG\u6587\u4ef6\u8f6c\u6362\u4e3a\u5176\u4ed6\u683c\u5f0f\uff0c\u5982JPEG\u3001BMP\u7b49\u3002\u4ee5\u4e0b\u793a\u4f8b\u4ee3\u7801\u5c55\u793a\u4e86\u5982\u4f55\u5b9e\u73b0\u683c\u5f0f\u8f6c\u6362\uff1a<\/p>\n<pre><code class=\"language-python\">from PIL import Image\n\n# \u6253\u5f00PNG\u6587\u4ef6\nimg = Image.open(&#39;your_image.png&#39;)\n# \u5c06\u5176\u8f6c\u6362\u4e3aJPEG\u683c\u5f0f\u5e76\u4fdd\u5b58\nimg.convert(&#39;RGB&#39;).save(&#39;converted_image.jpg&#39;, &#39;JPEG&#39;)\n<\/code><\/pre>\n<p>\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u5b9e\u73b0PNG\u6587\u4ef6\u7684\u683c\u5f0f\u8f6c\u6362\uff0c\u4ee5\u4fbf\u4e8e\u5728\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u4e2d\u4f7f\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5728Python\u4e2d\u8fd0\u884cPNG\u6587\u4ef6\uff0c\u53ef\u4ee5\u4f7f\u7528\u56fe\u50cf\u5904\u7406\u5e93\u6765\u6253\u5f00\u548c\u64cd\u4f5cPNG\u6587\u4ef6\u3001\u4f7f\u7528Pillow\u5e93\u3001\u7528matplo [&hellip;]","protected":false},"author":3,"featured_media":989131,"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\/989128"}],"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=989128"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/989128\/revisions"}],"predecessor-version":[{"id":989133,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/989128\/revisions\/989133"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/989131"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=989128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=989128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=989128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}