{"id":1134289,"date":"2025-01-08T21:14:23","date_gmt":"2025-01-08T13:14:23","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1134289.html"},"modified":"2025-01-08T21:14:25","modified_gmt":"2025-01-08T13:14:25","slug":"%e5%a6%82%e4%bd%95%e5%b0%86%e7%94%a8python%e5%b0%86%e6%96%87%e6%9c%ac%e7%94%a8%e7%aa%97%e5%8f%a3%e6%98%be%e7%a4%ba%e5%9b%be%e7%89%87","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1134289.html","title":{"rendered":"\u5982\u4f55\u5c06\u7528python\u5c06\u6587\u672c\u7528\u7a97\u53e3\u663e\u793a\u56fe\u7247"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25103253\/c58d42b9-2bb6-46d6-b90e-43dab43e947d.webp\" alt=\"\u5982\u4f55\u5c06\u7528python\u5c06\u6587\u672c\u7528\u7a97\u53e3\u663e\u793a\u56fe\u7247\" \/><\/p>\n<p><p> <strong>\u8981\u4f7f\u7528Python\u5c06\u6587\u672c\u663e\u793a\u5728\u7a97\u53e3\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528Pillow\u548cTkinter\u5e93\u6765\u5b9e\u73b0\u3002<\/strong> \u901a\u8fc7Pillow\u5e93\u751f\u6210\u5305\u542b\u6587\u672c\u7684\u56fe\u50cf\uff0c\u7136\u540e\u4f7f\u7528Tkinter\u5728\u7a97\u53e3\u4e2d\u663e\u793a\u8be5\u56fe\u50cf\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\uff1a\u5b89\u88c5\u5e93\u3001\u521b\u5efa\u56fe\u50cf\u3001\u5c06\u6587\u672c\u7ed8\u5236\u5728\u56fe\u50cf\u4e0a\u3001\u521b\u5efaTkinter\u7a97\u53e3\u5e76\u663e\u793a\u56fe\u50cf\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u6b65\u9aa4\u548c\u4ee3\u7801\u793a\u4f8b\u3002<\/p>\n<\/p>\n<p><p>\u5b89\u88c5\u6240\u9700\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pillow tk<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u5b8c\u6574\u7684\u4ee3\u7801\u5b9e\u73b0\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from tkinter import Tk, Label<\/p>\n<p>from PIL import Image, ImageDraw, ImageFont, ImageTk<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u56fe\u50cf<\/strong><\/h2>\n<p>width, height = 400, 200<\/p>\n<p>image = Image.new(&#39;RGB&#39;, (width, height), color = (73, 109, 137))<\/p>\n<h2><strong>\u4f7f\u7528Pillow\u5728\u56fe\u50cf\u4e0a\u7ed8\u5236\u6587\u672c<\/strong><\/h2>\n<p>draw = ImageDraw.Draw(image)<\/p>\n<p>font = ImageFont.truetype(&quot;arial.ttf&quot;, 30)<\/p>\n<p>text = &quot;Hello, World!&quot;<\/p>\n<p>textwidth, textheight = draw.textsize(text, font)<\/p>\n<p>x = (width - textwidth) \/ 2<\/p>\n<p>y = (height - textheight) \/ 2<\/p>\n<p>draw.text((x, y), text, font=font, fill=(255, 255, 0))<\/p>\n<h2><strong>\u5c06Pillow\u56fe\u50cf\u8f6c\u6362\u4e3aTkinter\u56fe\u50cf<\/strong><\/h2>\n<p>tk_image = ImageTk.PhotoImage(image)<\/p>\n<h2><strong>\u521b\u5efaTkinter\u7a97\u53e3<\/strong><\/h2>\n<p>root = Tk()<\/p>\n<p>label = Label(root, image=tk_image)<\/p>\n<p>label.pack()<\/p>\n<h2><strong>\u8fd0\u884cTkinter\u4e3b\u5faa\u73af<\/strong><\/h2>\n<p>root.m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>nloop()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u4ee3\u7801\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u5305\u542b\u6587\u672c\u7684\u56fe\u50cf\uff0c\u5e76\u5728Tkinter\u7a97\u53e3\u4e2d\u663e\u793a\u5b83\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u51e0\u4e2a\u6b65\u9aa4\u7684\u5b9e\u73b0\u539f\u7406\u548c\u5173\u952e\u70b9\u3002<\/p>\n<\/p>\n<hr>\n<p><h3>\u4e00\u3001\u5b89\u88c5\u5e76\u5bfc\u5165\u5e93<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u5f00\u59cb\uff0c\u6211\u4eec\u9700\u8981\u5b89\u88c5\u5e76\u5bfc\u5165\u6240\u9700\u7684\u5e93\u3002Pillow\u662fPython Imaging Library\uff08PIL\uff09\u7684\u4e00\u4e2a\u5206\u652f\uff0c\u7528\u4e8e\u56fe\u50cf\u5904\u7406\uff0c\u800cTkinter\u662fPython\u7684\u6807\u51c6GUI\u5e93\uff0c\u7528\u4e8e\u521b\u5efa\u56fe\u5f62\u7528\u6237\u754c\u9762\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">pip install pillow tk<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u521b\u5efa\u56fe\u50cf<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528Pillow\u5e93\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u7a7a\u767d\u56fe\u50cf\u5e76\u8bbe\u7f6e\u5176\u80cc\u666f\u989c\u8272\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u7a7a\u767d\u56fe\u50cf\uff0c\u5bbd\u5ea6400\uff0c\u9ad8\u5ea6200\uff0c\u80cc\u666f\u8272\u4e3aRGB(73, 109, 137)<\/strong><\/h2>\n<p>width, height = 400, 200<\/p>\n<p>image = Image.new(&#39;RGB&#39;, (width, height), color = (73, 109, 137))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u7ed8\u5236\u6587\u672c<\/h3>\n<\/p>\n<p><p>\u5728\u56fe\u50cf\u4e0a\u7ed8\u5236\u6587\u672c\u9700\u8981\u4f7f\u7528ImageDraw\u548cImageFont\u6a21\u5757\u3002\u6211\u4eec\u53ef\u4ee5\u52a0\u8f7d\u7cfb\u7edf\u5b57\u4f53\uff0c\u5e76\u5728\u6307\u5b9a\u4f4d\u7f6e\u7ed8\u5236\u6587\u672c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import ImageDraw, ImageFont<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u7ed8\u56fe\u5bf9\u8c61<\/strong><\/h2>\n<p>draw = ImageDraw.Draw(image)<\/p>\n<h2><strong>\u52a0\u8f7d\u5b57\u4f53\uff0c\u8bbe\u7f6e\u5b57\u4f53\u5927\u5c0f<\/strong><\/h2>\n<p>font = ImageFont.truetype(&quot;arial.ttf&quot;, 30)<\/p>\n<h2><strong>\u9700\u8981\u7ed8\u5236\u7684\u6587\u672c<\/strong><\/h2>\n<p>text = &quot;Hello, World!&quot;<\/p>\n<h2><strong>\u8ba1\u7b97\u6587\u672c\u7684\u5bbd\u5ea6\u548c\u9ad8\u5ea6<\/strong><\/h2>\n<p>textwidth, textheight = draw.textsize(text, font)<\/p>\n<h2><strong>\u8ba1\u7b97\u6587\u672c\u4f4d\u7f6e\uff0c\u4f7f\u5176\u5c45\u4e2d<\/strong><\/h2>\n<p>x = (width - textwidth) \/ 2<\/p>\n<p>y = (height - textheight) \/ 2<\/p>\n<h2><strong>\u7ed8\u5236\u6587\u672c\uff0c\u6587\u672c\u989c\u8272\u4e3a\u9ec4\u8272<\/strong><\/h2>\n<p>draw.text((x, y), text, font=font, fill=(255, 255, 0))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u5728Tkinter\u4e2d\u663e\u793a\u56fe\u50cf<\/h3>\n<\/p>\n<p><p>Pillow\u751f\u6210\u7684\u56fe\u50cf\u53ef\u4ee5\u901a\u8fc7ImageTk\u6a21\u5757\u8f6c\u6362\u4e3aTkinter\u652f\u6301\u7684\u56fe\u50cf\u683c\u5f0f\u3002\u7136\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u5728Tkinter\u7a97\u53e3\u4e2d\u663e\u793a\u8fd9\u4e2a\u56fe\u50cf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from tkinter import Tk, Label<\/p>\n<p>from PIL import ImageTk<\/p>\n<h2><strong>\u5c06Pillow\u56fe\u50cf\u8f6c\u6362\u4e3aTkinter\u56fe\u50cf<\/strong><\/h2>\n<p>tk_image = ImageTk.PhotoImage(image)<\/p>\n<h2><strong>\u521b\u5efaTkinter\u7a97\u53e3<\/strong><\/h2>\n<p>root = Tk()<\/p>\n<h2><strong>\u5728\u7a97\u53e3\u4e2d\u521b\u5efa\u4e00\u4e2a\u6807\u7b7e\uff0c\u5e76\u5c06\u56fe\u50cf\u6dfb\u52a0\u5230\u6807\u7b7e\u4e2d<\/strong><\/h2>\n<p>label = Label(root, image=tk_image)<\/p>\n<p>label.pack()<\/p>\n<h2><strong>\u8fd0\u884cTkinter\u4e3b\u5faa\u73af<\/strong><\/h2>\n<p>root.mainloop()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u8be6\u7ec6\u89e3\u91ca\u5404\u6b65\u9aa4<\/h3>\n<\/p>\n<p><h4>1\u3001\u521b\u5efa\u56fe\u50cf<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528<code>Image.new<\/code>\u65b9\u6cd5\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u56fe\u50cf\u5bf9\u8c61\u3002\u6211\u4eec\u6307\u5b9a\u4e86\u56fe\u50cf\u7684\u6a21\u5f0f\uff08&#39;RGB&#39;\uff09\u3001\u5c3a\u5bf8\uff08400&#215;200\uff09\u548c\u80cc\u666f\u989c\u8272\uff08RGB(73, 109, 137)\uff09\u3002\u8fd9\u4e00\u6b65\u9aa4\u521b\u5efa\u4e86\u4e00\u4e2a\u7a7a\u767d\u7684\u56fe\u50cf\uff0c\u51c6\u5907\u5728\u5176\u4e0a\u7ed8\u5236\u6587\u672c\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u7ed8\u5236\u6587\u672c<\/h4>\n<\/p>\n<p><p>\u901a\u8fc7<code>ImageDraw.Draw<\/code>\u65b9\u6cd5\u521b\u5efa\u4e00\u4e2a\u7ed8\u56fe\u5bf9\u8c61\uff0c\u8be5\u5bf9\u8c61\u5141\u8bb8\u6211\u4eec\u5728\u56fe\u50cf\u4e0a\u7ed8\u5236\u6587\u672c\u3001\u5f62\u72b6\u7b49\u3002\u4f7f\u7528<code>ImageFont.truetype<\/code>\u65b9\u6cd5\u52a0\u8f7d\u7cfb\u7edf\u5b57\u4f53\uff0c\u5e76\u6307\u5b9a\u5b57\u4f53\u5927\u5c0f\u3002\u6211\u4eec\u8ba1\u7b97\u4e86\u6587\u672c\u7684\u5c3a\u5bf8\u548c\u4f4d\u7f6e\uff0c\u4f7f\u5176\u5728\u56fe\u50cf\u4e2d\u5c45\u4e2d\u663e\u793a\u3002\u6700\u540e\uff0c\u901a\u8fc7<code>draw.text<\/code>\u65b9\u6cd5\u5c06\u6587\u672c\u7ed8\u5236\u5230\u56fe\u50cf\u4e0a\uff0c\u5e76\u8bbe\u7f6e\u6587\u672c\u989c\u8272\u4e3a\u9ec4\u8272\uff08RGB(255, 255, 0)\uff09\u3002<\/p>\n<\/p>\n<p><h4>3\u3001\u5728Tkinter\u4e2d\u663e\u793a\u56fe\u50cf<\/h4>\n<\/p>\n<p><p>\u4e3a\u4e86\u5728Tkinter\u7a97\u53e3\u4e2d\u663e\u793aPillow\u751f\u6210\u7684\u56fe\u50cf\uff0c\u6211\u4eec\u9700\u8981\u5148\u5c06\u5176\u8f6c\u6362\u4e3aTkinter\u652f\u6301\u7684\u683c\u5f0f\u3002\u4f7f\u7528<code>ImageTk.PhotoImage<\/code>\u65b9\u6cd5\u5b8c\u6210\u8f6c\u6362\u3002\u7136\u540e\uff0c\u521b\u5efa\u4e00\u4e2aTkinter\u7a97\u53e3\u548c\u6807\u7b7e\uff0c\u5c06\u56fe\u50cf\u6dfb\u52a0\u5230\u6807\u7b7e\u4e2d\uff0c\u5e76\u4f7f\u7528<code>pack<\/code>\u65b9\u6cd5\u81ea\u52a8\u8c03\u6574\u6807\u7b7e\u5927\u5c0f\u3002\u6700\u540e\uff0c\u8fd0\u884cTkinter\u4e3b\u5faa\u73af\u663e\u793a\u7a97\u53e3\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u7ed3\u5408\u4f7f\u7528Pillow\u548cTkinter\u5e93\uff0c\u6211\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u5c06\u6587\u672c\u7ed8\u5236\u5728\u56fe\u50cf\u4e0a\uff0c\u5e76\u5728\u7a97\u53e3\u4e2d\u663e\u793a\u8be5\u56fe\u50cf\u3002\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u4ec5\u9002\u7528\u4e8e\u7b80\u5355\u7684\u6587\u672c\u663e\u793a\uff0c\u8fd8\u53ef\u4ee5\u7528\u4e8e\u521b\u5efa\u590d\u6742\u7684\u56fe\u5f62\u7528\u6237\u754c\u9762\u6216\u5176\u4ed6\u56fe\u50cf\u5904\u7406\u5e94\u7528\u3002<strong>\u5173\u952e\u6b65\u9aa4\u5305\u62ec\uff1a\u521b\u5efa\u56fe\u50cf\u3001\u7ed8\u5236\u6587\u672c\u3001\u8f6c\u6362\u56fe\u50cf\u683c\u5f0f\u3001\u521b\u5efaTkinter\u7a97\u53e3\u5e76\u663e\u793a\u56fe\u50cf\u3002<\/strong><\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u521b\u5efa\u4e00\u4e2a\u7a97\u53e3\u4ee5\u663e\u793a\u56fe\u7247\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u5e93\u6765\u521b\u5efa\u7a97\u53e3\u5e76\u663e\u793a\u56fe\u7247\uff0c\u4f8b\u5982Tkinter\u3001Pygame\u6216Matplotlib\u3002Tkinter\u662fPython\u7684\u6807\u51c6GUI\u5e93\uff0c\u4f7f\u7528\u5b83\u53ef\u4ee5\u8f7b\u677e\u521b\u5efa\u7a97\u53e3\u5e76\u52a0\u8f7d\u56fe\u7247\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684Tkinter\u793a\u4f8b\u4ee3\u7801\uff1a  <\/p>\n<pre><code class=\"language-python\">import tkinter as tk\nfrom PIL import Image, ImageTk\n\ndef show_image(image_path):\n    root = tk.Tk()\n    img = Image.open(image_path)\n    tk_img = ImageTk.PhotoImage(img)\n    label = tk.Label(root, image=tk_img)\n    label.pack()\n    root.mainloop()\n\nshow_image(&#39;your_image.jpg&#39;)\n<\/code><\/pre>\n<p>\u786e\u4fdd\u5b89\u88c5\u4e86Pillow\u5e93\uff08<code>pip install Pillow<\/code>\uff09\uff0c\u4ee5\u4fbf\u5904\u7406\u56fe\u7247\u6587\u4ef6\u3002<\/p>\n<p><strong>\u4f7f\u7528Pygame\u663e\u793a\u56fe\u7247\u7684\u6b65\u9aa4\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>Pygame\u662f\u4e00\u4e2a\u7528\u4e8e\u6e38\u620f\u5f00\u53d1\u7684\u5e93\uff0c\u4f46\u540c\u6837\u9002\u7528\u4e8e\u663e\u793a\u56fe\u7247\u3002\u8981\u4f7f\u7528Pygame\u663e\u793a\u56fe\u7247\uff0c\u9996\u5148\u9700\u8981\u521d\u59cb\u5316Pygame\u5e76\u521b\u5efa\u4e00\u4e2a\u7a97\u53e3\uff0c\u7136\u540e\u52a0\u8f7d\u5e76\u663e\u793a\u56fe\u7247\u3002\u4ee5\u4e0b\u662f\u57fa\u672c\u7684\u6b65\u9aa4\uff1a  <\/p>\n<ol>\n<li>\u5bfc\u5165Pygame\u5e93\u5e76\u521d\u59cb\u5316\u3002<\/li>\n<li>\u521b\u5efa\u4e00\u4e2a\u7a97\u53e3\u3002<\/li>\n<li>\u52a0\u8f7d\u56fe\u7247\u5e76\u5c06\u5176\u7ed8\u5236\u5230\u7a97\u53e3\u4e0a\u3002<\/li>\n<li>\u8fdb\u5165\u4e3b\u5faa\u73af\u4ee5\u4fdd\u6301\u7a97\u53e3\u6253\u5f00\u3002<br \/>\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<\/li>\n<\/ol>\n<pre><code class=\"language-python\">import pygame\n\ndef display_image(image_path):\n    pygame.init()\n    screen = pygame.display.set_mode((800, 600))\n    image = pygame.image.load(image_path)\n    screen.blit(image, (0, 0))\n    pygame.display.flip()\n    \n    running = True\n    while running:\n        for event in pygame.event.get():\n            if event.type == pygame.QUIT:\n                running = False\n\n    pygame.quit()\n\ndisplay_image(&#39;your_image.jpg&#39;)\n<\/code><\/pre>\n<p><strong>\u5982\u4f55\u4f7f\u7528Matplotlib\u663e\u793a\u56fe\u7247\uff1f<\/strong><br \/>Matplotlib\u4e0d\u4ec5\u9002\u7528\u4e8e\u6570\u636e\u53ef\u89c6\u5316\uff0c\u8fd8\u53ef\u4ee5\u7528\u6765\u663e\u793a\u56fe\u7247\u3002\u4f7f\u7528Matplotlib\u663e\u793a\u56fe\u7247\u975e\u5e38\u7b80\u5355\uff0c\u53ef\u4ee5\u901a\u8fc7<code>imshow<\/code>\u51fd\u6570\u5b9e\u73b0\u3002\u4ee5\u4e0b\u662f\u76f8\u5173\u4ee3\u7801\u793a\u4f8b\uff1a  <\/p>\n<pre><code class=\"language-python\">import matplotlib.pyplot as plt\nimport matplotlib.image as mpimg\n\ndef show_image(image_path):\n    img = mpimg.imread(image_path)\n    plt.imshow(img)\n    plt.axis(&#39;off&#39;)  # \u4e0d\u663e\u793a\u5750\u6807\u8f74\n    plt.show()\n\nshow_image(&#39;your_image.jpg&#39;)\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u9002\u5408\u5728\u6570\u636e\u5206\u6790\u548c\u79d1\u5b66\u8ba1\u7b97\u4e2d\u7ed3\u5408\u56fe\u50cf\u5c55\u793a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u4f7f\u7528Python\u5c06\u6587\u672c\u663e\u793a\u5728\u7a97\u53e3\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528Pillow\u548cTkinter\u5e93\u6765\u5b9e\u73b0\u3002 \u901a\u8fc7Pillow\u5e93\u751f\u6210\u5305 [&hellip;]","protected":false},"author":3,"featured_media":1134299,"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\/1134289"}],"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=1134289"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1134289\/revisions"}],"predecessor-version":[{"id":1134302,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1134289\/revisions\/1134302"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1134299"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1134289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1134289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1134289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}