{"id":11393,"date":"2024-10-31T22:12:28","date_gmt":"2024-10-31T14:12:28","guid":{"rendered":"https:\/\/www.zhangxinxu.com\/wordpress\/?p=11393"},"modified":"2024-10-31T22:12:28","modified_gmt":"2024-10-31T14:12:28","slug":"pixi-js-colormatrixfilter","status":"publish","type":"post","link":"https:\/\/www.zhangxinxu.com\/wordpress\/2024\/10\/pixi-js-colormatrixfilter\/","title":{"rendered":"Pixi.js\u4e2dColorMatrixFilter\u81ea\u5e26\u6ee4\u955c\u6548\u679c\u4e00\u89c8"},"content":{"rendered":"<p>by <a href=\"https:\/\/www.zhangxinxu.com\/\">zhangxinxu<\/a> from <a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/?p=11393\">https:\/\/www.zhangxinxu.com\/wordpress\/?p=11393<\/a><br \/>\n\u672c\u6587\u53ef\u5168\u6587\u8f6c\u8f7d\uff0c\u72ec\u7acb\u57df\u540d\u4e2a\u4eba\u7f51\u7ad9\u65e0\u9700\u6388\u6743\uff0c\u4f46\u9700\u8981\u4fdd\u7559\u539f\u4f5c\u8005\u3001\u51fa\u5904\u4ee5\u53ca\u6587\u4e2d\u94fe\u63a5\uff0c\u4efb\u4f55\u7f51\u7ad9\u5747\u53ef\u6458\u8981\u805a\u5408\uff0c\u5546\u7528\u8bf7\u8054\u7cfb\u6388\u6743\u3002<\/p>\n<p><script>window.wxShareImgUrl = 'https:\/\/www.zhangxinxu.com\/study\/image\/share\/202410-pixi-filter.jpg';<\/script><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202410\/pixi-filter-cover.jpg\" width=\"413\" height=\"267\" alt=\"\u6ee4\u955c\u5c01\u9762\u5360\u4f4d\u56fe\" class=\"alignright clip thumb size-medium\" \/><\/p>\n<h3>\u4e00\u3001\u80cc\u666f<\/h3>\n<p>\u77ed\u89c6\u9891\u6295\u653e\u4e3a\u4e86\u6709\u66f4\u597d\u7684\u6d41\u91cf\u63a8\u8350\uff0c\u5c31\u9700\u8981\u907f\u514d\u91cd\u590d\uff0c\u4ee5\u514d\u88ab\u7cfb\u7edf\u5224\u5b9a\u4e3a\u975e\u539f\u521b\u3002<\/p>\n<p>\u8fd9\u5c31\u9700\u8981\u5bf9\u89c6\u9891\u8fdb\u884c\u53bb\u91cd\u3002<\/p>\n<p>\u5e38\u89c1\u7684\u624b\u6bb5\u5c31\u662f\u7ffb\u8f6c\uff0c\u526a\u88c1\uff0c\u53e0\u52a0\u7d20\u6750\u7b49\u3002<\/p>\n<p>\u6700\u8fd1\u5c31\u9047\u5230\u7c7b\u4f3c\u9700\u6c42\uff0c\u601d\u6765\u60f3\u53bb\uff0c\u5176\u5b9e\u53ef\u4ee5\u501f\u52a9\u7b97\u6cd5\u6ee4\u955c\u5bf9\u89c6\u9891\u7684\u6bcf\u4e00\u5e27\u8fdb\u884c\u91cd\u65b0\u5904\u7406\uff0c\u8fd9\u4e2a\u8981\u6bd4\u4f7f\u7528\u5176\u4ed6\u89c6\u9891\u753b\u97621%\u900f\u660e\u5ea6\u53e0\u52a0\u6548\u7387\u9ad8\u5f97\u591a\u3002<\/p>\n<p>\u6240\u4ee5\uff0c\u5c31\u53bb\u7814\u7a76\u4e86\u4e0bPixi.js\u4e2dColorMatrixFilter\u81ea\u5e26\u7684\u7b97\u6cd5\u6ee4\u955c\uff0c\u79f0\u4e3aColorMatrixFilter\uff0c\u5c31\u662f\u901a\u8fc7\u77e9\u9635\u53d8\u6362\u6539\u53d8\u753b\u9762\u8272\u5f69\u7684\u6ee4\u955c\uff0c\u8fd9\u4e2a\u4e0e\u6a21\u7cca\u3001\u9a6c\u8d5b\u514b\u8fd9\u7c7b\u6ee4\u955c\u8fd8\u662f\u6709\u6240\u4e0d\u540c\u7684\u3002<\/p>\n<p>\u6211\u770b\u4e86\u4e0b\u5b98\u65b9\u6587\u6863\uff0c\u670920\u591a\u4e2a\u81ea\u5e26\u7684\u65b9\u6cd5\uff0c\u54c1\u7c7b\u5012\u662f\u633a\u591a\uff0c\u4f46\u662f\u5374\u6ca1\u6709\u5bf9\u5e94\u7684\u6548\u679c\u5c55\u793a\uff0c\u7eaf\u6587\u672c\uff0c\u4e14\u63cf\u8ff0\u4e5f\u5f88\u7b80\u5355\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202410\/2024-10-30_150232.png\" width=\"716\" height=\"359\" alt=\"\u6587\u6863\u9875\u9762\u622a\u56fe\" class=\"alignnone size-medium\" \/><\/p>\n<p>\u8fd9\u5bf9\u4e8e\u65b0\u4eba\u7684\u5b66\u4e60\u4e0d\u592a\u53cb\u597d\uff0c\u5bf9\u4e8e\u6211\u800c\u8a00\uff0c\u4e5f\u4e0d\u5229\u4e8e\u6211\u9009\u62e9\u5e94\u8be5\u4f7f\u7528\u54ea\u4e2a\u6ee4\u955c\u6548\u679c\u3002<\/p>\n<p>\u4e8e\u662f\uff0c\u6211\u5c31\u82b1\u65f6\u95f4\u6574\u4e86\u4e2a\u6f14\u793ademo\uff0c\u5927\u5bb6\u53ef\u4ee5\u770b\u5230\u6bcf\u4e2a\u6ee4\u955c\u5927\u81f4\u7684\u6548\u679c\u3002<\/p>\n<h3>\u4e8c\u3001\u6f14\u793a<\/h3>\n<p>\u60a8\u53ef\u4ee5\u72e0\u72e0\u5730\u70b9\u51fb\u8fd9\u91cc\uff1a<a href=\"https:\/\/www.zhangxinxu.com\/study\/202410\/pixi-js-colormatrixfilter-demo.php\" rel=\"noopener\" target=\"_blank\">Pixi\u4e2dColorMatrixFilter\u5404\u4e2a\u6ee4\u955c\u65b9\u6cd5\u6548\u679cdemo<\/a><\/p>\n<p>\u5927\u5bb6\u53ef\u4ee5\u6ed1\u52a8\u6ed1\u6746\u8c03\u6574\u53c2\u6570\uff0c\u611f\u53d7\u4e0d\u540c\u7684\u6548\u679c\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202410\/2024-10-30_233337.png\" width=\"661\" height=\"336\" alt=\"demo\u6f14\u793a\u6548\u679c\u793a\u610f\" class=\"alignnone size-medium\" \/><\/p>\n<h4>ColorMatrixFilter\u4f7f\u7528\u793a\u610f<\/h4>\n<p>\u4f7f\u7528<code>contrast()<\/code>\u793a\u610f\u4e0b\u5982\u4f55\u4f7f\u7528ColorMatrixFilter\u6ee4\u955c\uff0c\u53c2\u89c1\u4ee3\u7801\uff0c\u5047\u8bbe\u5bb9\u5668\u5143\u7d20\u7684id\u662f<code>#c<\/code>\u5219\uff0c\uff1a<\/p>\n<pre>const url = '1.jpg';\r\n\r\n\/\/ \u521b\u5efapixi\u7ed8\u5236\u4e3b\u4f53\r\nconst width = 512;\r\nconst height = 384;\r\nconst app = new PIXI.Application({\r\n  width, height\r\n});\r\n\r\nc.appendChild(app.view);\r\n\r\n\/\/ \u56fe\u7247sprite\r\nconst sprite = PIXI.Sprite.from(url);\r\n\r\nsprite.width = width;\r\nsprite.height = height;\r\n\/\/ \u521b\u5efaimg\u5bb9\u5668\r\nconst container = new PIXI.Container();\r\ncontainer.addChild(sprite);\r\napp.stage.addChild(container);\r\n\r\n\/\/ \u6ee4\u955c\r\nconst filter = new PIXI.filters.ColorMatrixFilter();\r\nsprite.filters = [filter];\r\n\r\n\/\/ \u5e94\u7528\u5bf9\u6bd4\u5ea6\r\nfilter.contrast(1);<\/pre>\n<h4>\u53c2\u6570\u4e2d\u7684multiply\u662f\u4ec0\u4e48\u610f\u601d<\/h4>\n<p>\u6240\u6709\u7684\u6ee4\u955c\u65b9\u6cd5\u4e2d\u90fd\u6709\u4e00\u4e2a\u540d\u4e3a<code>multiply<\/code>\u7684\u53c2\u6570\uff0c\u8fd9\u4e2a\u53c2\u6570\u610f\u601d\u8868\u793a\u662f\u5426\u6ee4\u955c\u6548\u679c\u6df7\u5408\uff0c\u4f8b\u5982\u4e0b\u9762\u7684\u4ee3\u7801\u8868\u793a\u4eae\u5ea6\u548c\u5bf9\u6bd4\u5ea6\u540c\u65f6\u5e94\u7528\uff1a<\/p>\n<pre>filter.brightness(1);\r\n\/\/ \u8bed\u6cd5contrast(amount, multiply?)\r\nfilter.contrast(1, true);<\/pre>\n<p>\u800c\u4e0b\u9762\u7684\u4ee3\u7801\uff0c\u540e\u9762\u7684\u5bf9\u6bd4\u5ea6\u4f1a\u76f4\u63a5\u8986\u76d6\u4e0a\u9762\u7684\u4eae\u5ea6\u8bbe\u7f6e\uff1a<\/p>\n<pre>filter.brightness(1);\r\n\/\/ \u8bed\u6cd5contrast(amount, multiply?)\r\nfilter.contrast(1);<\/pre>\n<h3>\u4e09\u3001\u8bf4\u660e<\/h3>\n<p>\u4e00\u4e9b\u5e38\u89c1\u7684\u6ee4\u955c\uff0c\u4f8b\u5982\u7070\u5ea6(greyscale)\uff0c\u4eae\u5ea6(brightness)\uff0c\u5bf9\u6bd4\u5ea6(contrast)\uff0c\u8272\u8c03(hue)\uff0c\u9971\u548c\u5ea6(saturate)\uff0c\u8910\u8272(sepia)\u8fd9\u4e9b\u5c31\u6ca1\u4ec0\u4e48\u597d\u8bf4\u7684\u3002<\/p>\n<p>\u628a\u51e0\u4e2a\u201c\u7a00\u5947\u53e4\u602a\u201d\u6ca1\u89c1\u8fc7\u7684\u6ee4\u955c\u65b9\u6cd5\u8bb2\u4e00\u4e0b\u3002<\/p>\n<h4> blackAndWhite \u548c greyscale\u533a\u522b<\/h4>\n<p><code>blackAndWhite<\/code>\u662f\u9ed1\u767d\u6548\u679c\uff0c\u8fd9\u4e2a\u5f88\u597d\u7406\u89e3\u3002<\/p>\n<p>\u4f46greyscale\u5e76\u4e0d\u662f\u7eaf\u7cb9\u7684\u9ed1\u767d\uff0c\u4e5f\u4e0d\u662fCSS\u4e2d\u7684<code>grayscale()<\/code>\u6ee4\u955c\u6548\u679c\u3002<\/p>\n<p>\u5728Pixi\u4e2d\uff0cgreyscale\u5e76\u4e0d\u662f\u5f69\u8272\u548c\u7070\u5ea6\u4e4b\u95f4\u7684\u53d8\u5316\uff0c\u800c\u662f\u4e0d\u540c\u4eae\u5ea6\u4e0b\u7684\u7070\u5ea6\u56fe\u7247\u6548\u679c\u3002<\/p>\n<p>\u4f8b\u5982\uff0c<code>greyscale(1)<\/code>\u7684\u6548\u679c\u662f\u8fd9\u6837\u7684\uff0c\u660e\u4eae\u7684\u6709\u4e9b\u8fc7\u5206\u4e86\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202410\/2024-10-31_164315.jpeg\" width=\"259\" height=\"197\" alt=\"greyscale(1)\u6548\u679c\u622a\u56fe\" class=\"alignnone size-medium\" \/><\/p>\n<p>\u5bf9\u6bd4<code>blackAndWhite()<\/code>\u6548\u679c\u53ef\u4ee5\u770b\u5230\u660e\u663e\u7684\u533a\u522b\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202410\/2024-10-31_164658.jpeg\" width=\"260\" height=\"197\" alt=\"\u9ed1\u767d\u6548\u679c\u793a\u610f\" class=\"alignnone size-medium\" \/><\/p>\n<h4> browni \u6548\u679c<\/h4>\n<p>\u68d5\u8272\u7f8e\u5473\u5e03\u6717\u5c3c\u6ee4\u955c\u3002<\/p>\n<p>\u6839\u636e\u6211\u7684\u6d4b\u8bd5\uff0c\u6b64\u65b9\u6cd5\u4f7f\u7528\u7684\u65f6\u5019\u9700\u8981\u8bbe\u7f6emultiply\u53c2\u6570\u4e3atrue\uff0c\u4e0d\u7136\u753b\u9762\u4f1a\u53d8\u6210\u7eaf\u7ea2\u8272\u3002<\/p>\n<p>\u5b9e\u9645\u6e32\u67d3\u6548\u679c\u89c1\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202410\/2024-10-31_212027.jpeg\" width=\"259\" height=\"197\" alt=\"\u5e03\u6717\u5c3c\u68d5\u8272\u6ee4\u955c\u6548\u679c\" class=\"alignnone size-medium\" \/><\/p>\n<p>\u901a\u5e38\u7528\u5728\u7f8e\u98df\u7684\u6e32\u67d3\u4e0a\u3002<\/p>\n<h4> kodachrome \u6548\u679c<\/h4>\n<p>\u4f0a\u58eb\u66fc\u67ef\u8fbe\u4e8e1935\u5e74\u63a8\u51fa\u7684\u5f69\u8272\u53cd\u8f6c\u80f6\u7247\u6ee4\u955c\u6548\u679c\u3002<\/p>\n<p>\u8fd9\u4e2a\u6ee4\u955c\u5012\u662f\u6709\u70b9\u6625\u5929\u5c11\u5973\u7684\u6c14\u606f\u3002<\/p>\n<p>\u6b64\u65b9\u6cd5\u4f7f\u7528\u7684\u65f6\u5019\u9700\u8981\u8bbe\u7f6emultiply\u53c2\u6570\u4e3atrue\uff0c\u4e0d\u7136\u753b\u9762\u4f1a\u53d8\u6210\u7eaf\u767d\u8272\u3002<\/p>\n<p>\u6548\u679c\u53c2\u8003\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202410\/2024-10-31_214233.jpeg\" width=\"260\" height=\"195\" alt=\"kodachrome\u6ee4\u955c\u6548\u679c\" class=\"alignnone size-medium\" \/><\/p>\n<h4> lsd \u6548\u679c<\/h4>\n<p>\u5c31\u53ebLSD\u6548\u679c\uff0c\u5177\u4f53\u4ec0\u4e48\u6548\u679c\uff0c\u6211\u4e5f\u63cf\u8ff0\u4e0d\u4e0a\u6765\uff0c\u4f3c\u4e4e\u662f\u77e9\u9635\u503c\u76f8\u4e58\u540e\u7684\u6e32\u67d3\u6548\u679c\uff0c\u53c2\u8003\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202410\/2024-10-31_214545.jpeg\" width=\"259\" height=\"195\" alt=\"LSD\u6548\u679c\" class=\"alignnone size-medium\" \/><\/p>\n<h4> polaroid \u6ee4\u955c<\/h4>\n<p>\u62cd\u7acb\u5f97\u7167\u76f8\u673a\u6ee4\u955c\u6548\u679c\uff0c\u504f\u5149\u6ee4\u955c\u6548\u679c\uff0c\u5e94\u8be5\u662f\u8fd9\u4e48\u7ffb\u8bd1\u7684\u5427\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202410\/2024-10-31_214839.jpeg\" width=\"259\" height=\"195\" alt=\"polaroid\u6ee4\u955c\u6548\u679c\u793a\u610f\" class=\"alignnone size-medium\" \/><\/p>\n<h4> technicolor \u6ee4\u955c<\/h4>\n<p>1916\u5e74\u53d1\u660e\u7684\u5f69\u8272\u7535\u5f71\u5904\u7406\u6280\u672f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202410\/2024-10-31_215223.jpeg\" width=\"259\" height=\"195\" alt=\"technicolor \u6ee4\u955c\u6548\u679c\" class=\"alignnone size-medium\" \/><\/p>\n<h4> vintage \u6ee4\u955c<\/h4>\n<p>\u590d\u53e4\u6ee4\u955c\uff0c\u6548\u679c\u6709\u4e9b\u7c7b\u4f3csepia\u8910\u8272\u6ee4\u955c\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202410\/2024-10-31_215456.jpeg\" width=\"259\" height=\"195\" alt=\"\u590d\u53e4\u6ee4\u955c\u6548\u679c\u3002\" class=\"alignnone size-medium\" \/><\/p>\n<p>\u81f3\u4e8e\u5176\u4ed6\u4e00\u4e9b\u6ee4\u955c\u6548\u679c\uff0c\u5927\u5bb6\u53ef\u4ee5\u53bbdemo\u9875\u9762\u611f\u53d7\uff0c\u5c24\u5176\u90a3\u4e9b\u6709\u6570\u503c\u53c2\u6570\u8bbe\u7f6e\u7684\u3002<\/p>\n<h3>\u56db\u3001\u7ed3\u8bed<\/h3>\n<p>\u8fd9\u79cd\u989c\u8272\u7b97\u6cd5\u6ee4\u955c\uff0c\u65e0\u8bba\u662fWeb\u8fd8\u662fAPP\uff0c\u4ea6\u6216\u662f\u540e\u7aef\uff0c\u5176\u7b97\u6cd5\u90fd\u662f\u4e00\u81f4\u7684\uff0c\u533a\u522b\u5728\u4e8e\u5e94\u7528\u8bed\u8a00\uff0c\u6216\u8005\u8bf4\u4f7f\u7528\u8bed\u6cd5\u7684\u533a\u522b\u3002<\/p>\n<p>\u6240\u8c13\u4e00\u901a\u767e\u901a\u3002<\/p>\n<p>\u5f53\u5e74\u5927\u5b66\u5b66Photoshop\u73a9\u94a2\u7b14\u5de5\u5177\uff0c\u770b\u8d77\u6765\u662f\u8bbe\u8ba1\u6280\u80fd\uff0c\u4f46\u662f\u5bf9\u4e8e\u4e4b\u540e\u5b66\u4e60\u8d1d\u585e\u5c14\u66f2\u7ebf\u975e\u5e38\u6709\u5e2e\u52a9\u3002<\/p>\n<p>\u773c\u775b\u770b\u7740\u90a3\u4e9b\u5750\u6807\u6307\u4ee4\u6307\uff0c\u5bf9\u5e94\u7684\u66f2\u7ebf\u56fe\u5f62\u5c31\u5728\u8111\u4e2d\u5448\u73b0\u4e86\uff0c\u53ef\u4ee5\u770b\u6210\u662f\u5f53\u5e74\u88ab\u94a2\u7b14\u7ed8\u56fe\u5de5\u5177\u8650\u7684\u753b\u9762\u663e\u7075\u4e86\u3002<\/p>\n<p>\u6240\u4ee5\uff0c\u672c\u6587\u770b\u4f3c\u662fPixi\u7684ColorMatrixFilter\u65b9\u6cd5\u4f7f\u7528\uff0c\u5b9e\u9645\u4e0a\u662f\u6574\u4e2aWeb\u9886\u57df\u77e9\u9635\u7b97\u6cd5\u6ee4\u955c\u7684\u5b66\u4e60\u77e5\u8bc6\u3002<\/p>\n<p>\u597d\u4e86\uff0c\u5c31\u8bf4\u8fd9\u4e48\u591a\u5427\u3002<\/p>\n<p>\u611f\u8c22\u9605\u8bfb\uff0c\u6b22\u8fce<button onclick=\"shareWeixin.click()\" class=\"entry-share-btn\">\u5206\u4eab<\/button>\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202410\/2024-10-31_220248.jpg\" width=\"94\" height=\"75\" alt=\"\u9a6c\u601c\u513f\" class=\"alignnone size-medium\" \/><\/p>\n<p>\u672c\u6587\u4e3a\u539f\u521b\u6587\u7ae0\uff0c\u4f1a\u7ecf\u5e38\u66f4\u65b0\u77e5\u8bc6\u70b9\u4ee5\u53ca\u4fee\u6b63\u4e00\u4e9b\u9519\u8bef\uff0c\u56e0\u6b64\u8f6c\u8f7d\u8bf7\u4fdd\u7559\u539f\u51fa\u5904\uff0c\u65b9\u4fbf\u6eaf\u6e90\uff0c\u907f\u514d\u9648\u65e7\u9519\u8bef\u77e5\u8bc6\u7684\u8bef\u5bfc\uff0c\u540c\u65f6\u6709\u66f4\u597d\u7684\u9605\u8bfb\u4f53\u9a8c\u3002<br \/>\n\u672c\u6587\u5730\u5740\uff1a<a href=\"https:\/\/www.zhangxinxu.com\/wordpress\/?p=11393\">https:\/\/www.zhangxinxu.com\/wordpress\/?p=11393<\/a><\/p>\n<p>\uff08\u672c\u7bc7\u5b8c\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/image.zhangxinxu.com\/image\/blog\/202410\/pixi-filter-cover.jpg\" width=\"160\" height=\"103\" alt=\"\u6ee4\u955c\u5c01\u9762\u5360\u4f4d\u56fe\" class=\"alignright size-medium\" loading=\"lazy\" \/><\/p>\n<p>\u7b97\u662f\u628apixi.js\u4e2d\u7684\u989c\u8272\u77e9\u9635\u7b97\u6cd5\u6ee4\u955c\u7684\u4f7f\u7528\u548c\u5404\u79cd\u6e32\u67d3\u6548\u679c\u7ed9\u6478\u4e86\u4e2a\u900f\uff0c\u4e00\u901a\u767e\u901a\uff0c\u5bf9SVG\u6ee4\u955c\uff0ccanvas 2D\u6ee4\u955c\u7684\u5b66\u4e60\u4e0e\u5e94\u7528\u4e5f\u662f\u9887\u6709\u5e2e\u52a9\u7684\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[180],"tags":[1363,2009,1201,368,2010,1193,2011,1367,2012,206,724],"_links":{"self":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/11393"}],"collection":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/comments?post=11393"}],"version-history":[{"count":0,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/posts\/11393\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/media?parent=11393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/categories?post=11393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhangxinxu.com\/wordpress\/wp-json\/wp\/v2\/tags?post=11393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}