{"id":55860,"date":"2018-12-07T22:34:21","date_gmt":"2018-12-07T13:34:21","guid":{"rendered":"http:\/\/hitoriblog.com\/?p=55860"},"modified":"2018-12-10T20:22:38","modified_gmt":"2018-12-10T11:22:38","slug":"ogp-image-generator","status":"publish","type":"post","link":"http:\/\/hitoriblog.com\/?p=55860","title":{"rendered":"OGP\u753b\u50cf\u4f5c\u308a\u304c\u9762\u5012\u3067\u4ed5\u65b9\u304c\u306a\u3044\u306e\u3067OS\u6c4e\u7528OGP\u753b\u50cf\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fc\u3092\u4f5c\u3063\u305f"},"content":{"rendered":"<p><img loading=\"lazy\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-src=\"http:\/\/hitoriblog.com\/wp-content\/uploads\/2018\/12\/ogp-image-generator-00000.jpg\" alt=\"Ogp image generator 00000\" title=\"ogp-image-generator-00000.jpg\" border=\"0\" width=\"728\" height=\"410\" \/><noscript><img loading=\"lazy\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"http:\/\/hitoriblog.com\/wp-content\/uploads\/2018\/12\/ogp-image-generator-00000.jpg\" alt=\"Ogp image generator 00000\" title=\"ogp-image-generator-00000.jpg\" border=\"0\" width=\"728\" height=\"410\" \/><\/noscript><\/p>\n<p>\u30d6\u30ed\u30b0\u3092\u66f8\u3044\u3066\u3044\u3066\u9762\u5012\u81ed\u3044\u3068\u601d\u3046\u3053\u3068\u306e\u7b46\u982d\u306b\u3001\u8a18\u4e8b\u5192\u982d\u306b\u914d\u7f6e\u3059\u308b\u30bf\u30a4\u30c8\u30eb\u753b\u50cf\u306e\u7528\u610f\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u306b\u4f7f\u3046\u753b\u50cf\u306f\u901a\u4f8b\u3068\u3057\u3066SNS\u306a\u3069\u3067\u30b5\u30e0\u30cd\u30a4\u30eb\u3068\u3057\u3066\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3001SNS\u96c6\u5ba2\u4e0a\u5927\u304d\u306a\u610f\u5473\u3092\u6301\u3064\u3053\u3068\u306b\u306a\u308b\u305f\u3081\u3001\u300c\u3084\u308b\u3053\u3068\u3092\u4f59\u5100\u306a\u304f\u3055\u308c\u308b\u300d\u3082\u306e\u3068\u3057\u3066\u3001\u8a18\u4e8b\u3092\u66f8\u304f\u3053\u3068\u3092\u6c7a\u3081\u305f\u77ac\u9593\u304b\u3089\u610f\u8b58\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u753b\u50cf\u3092OGP\u753b\u50cf\uff08\u203b\uff09\u3068\u8a00\u3063\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<p><small>\u203bOpen Graph Protocol<\/small><\/p>\n<p>\u3057\u304b\u3057\u3001\u6587\u5b57\u3068\u9055\u3063\u3066\u5236\u4f5c\u306b\u305d\u308c\u306a\u308a\u306e\u9053\u5177\u304c\u5fc5\u8981\u306aOGP\u753b\u50cf\u3002<\/p>\n<p>\u3064\u3044\u3064\u3044\u5f8c\u56de\u3057\u306b\u3057\u3001OGP\u753b\u50cf\u4f5c\u6210\u306e\u90fd\u5408\u3067\u8a18\u4e8b\u306e\u516c\u958b\u304c\u9045\u308c\u308b\u306e\u306f\u3088\u304f\u3042\u308b\u3053\u3068\u3002<\/p>\n<p>\u3053\u308c\u3092\u697d\u306b\u3059\u308b\u65b9\u6cd5\u3092\u4ee5\u524d\u304b\u3089\u8003\u3048\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u7740\u60f3\u304b\u3089\u7740\u624b\u306b\u6570\u5e74\u3092\u8981\u3057\u307e\u3057\u305f\u304c\u3001OGP\u753b\u50cf\u306e\u81ea\u52d5\u4f5c\u6210\u3092\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002<\/p>\n<div align=\"center\">\n<iframe width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/uA54rTR9CRo\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div>\n<p>\u4eca\u56de\u7d39\u4ecb\u3059\u308b\u306e\u306fOGP\u753b\u50cf\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fcogp_image_generator.py\u3002<\/p>\n<p>ogp_image_generator.py\u306fPython3\u3067\u52d5\u4f5c\u3059\u308bPython\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3059\u3002<\/p>\n<p>\u753b\u50cf\u3068\u30c6\u30ad\u30b9\u30c8\u3092\u7528\u610f\u3059\u308b\u3068\u3001\u77ac\u6642\u306b\u3053\u3093\u306a\u611f\u3058\u306e\u753b\u50cf\u306b\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-src=\"http:\/\/hitoriblog.com\/wp-content\/uploads\/2018\/12\/ogp-image-generator-00001.jpg\" alt=\"Ogp image generator 00001\" title=\"ogp-image-generator-00001.jpg\" border=\"0\" width=\"700\" height=\"394\" \/><noscript><img loading=\"lazy\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"http:\/\/hitoriblog.com\/wp-content\/uploads\/2018\/12\/ogp-image-generator-00001.jpg\" alt=\"Ogp image generator 00001\" title=\"ogp-image-generator-00001.jpg\" border=\"0\" width=\"700\" height=\"394\" \/><\/noscript><\/p>\n<p>\u753b\u50cf\u306f\u624b\u5143\u306b\u306a\u304f\u3068\u3082\u3001\u753b\u50cf\u3078\u306e\u76f4\u30ea\u30f3\uff08URL\uff09\u3092\u6307\u5b9a\u3059\u308c\u3070\u3001\u3042\u3089\u304b\u3058\u3081\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304a\u304b\u306a\u304f\u3068\u3082\u30cd\u30c3\u30c8\u4e0a\u306e\u753b\u50cf\u3092\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30a2\u30d7\u30ea\u3058\u3083\u306a\u3044\u306e\u304b\u3088\u3001\u3068\u304c\u3063\u304b\u308a\u3059\u308b\u58f0\u304c\u805e\u3053\u3048\u3066\u304d\u305d\u3046\u3067\u3059\u304c\u3001\u30dd\u30a4\u30f3\u30c8\u306f\u3001Python3\u3092\u9078\u3093\u3060\u3053\u3068\u3067iOS\u3092\u542b\u3080\u591a\u304f\u306eOS\u3067\u52d5\u4f5c\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" style=\"border: 1px solid #999; display:block; margin-left:auto; margin-right:auto;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-src=\"http:\/\/hitoriblog.com\/wp-content\/uploads\/2018\/12\/ogp-image-generator-00007.jpg\" alt=\"Ogp image generator 00007\" title=\"ogp-image-generator-00007.jpg\" border=\"0\" width=\"240\" height=\"426\" \/><noscript><img loading=\"lazy\" style=\"border: 1px solid #999; display:block; margin-left:auto; margin-right:auto;\" src=\"http:\/\/hitoriblog.com\/wp-content\/uploads\/2018\/12\/ogp-image-generator-00007.jpg\" alt=\"Ogp image generator 00007\" title=\"ogp-image-generator-00007.jpg\" border=\"0\" width=\"240\" height=\"426\" \/><\/noscript><\/p>\n<p>\u4eca\u65e5\u3073\u3001OGP\u753b\u50cf\u306a\u3057\u3067\u306f\u8a18\u4e8b\u3092\u516c\u958b\u3057\u3065\u3089\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u4ed6\u306e\u753b\u50cf\u306f\u5f8c\u56de\u3057\u306b\u3057\u3066\u3067\u3082\u3001OGP\u753b\u50cf\u3060\u3051\u306f\u8a18\u4e8b\u516c\u958b\u6642\u306b\u8cbc\u3063\u3066\u304a\u3051\u3001\u3068\u3044\u3046\u3050\u3089\u3044\u306e\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u5834\u3067OGP\u753b\u50cf\u3092\u751f\u6210\u3067\u304d\u308b\u304b\u3069\u3046\u304b\u304c\u3001\u8a18\u4e8b\u306e\u516c\u958b\u306b\u3053\u304e\u7740\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u304b\u3069\u3046\u304b\u306e\u5206\u6c34\u5dba\u306b\u306a\u308b\u308f\u3051\u3067\u3059\u304b\u3089\u3001\u69d8\u3005\u306aOS\u3067\u52d5\u4f5c\u3059\u308b\u3053\u3068\u306e\u30d6\u30ed\u30b0\u66f8\u304d\u74b0\u5883\u3078\u306e\u5f71\u97ff\u306f\u5c0f\u3055\u304f\u306a\u3044\u3068\u7b46\u8005\u306f\u8003\u3048\u307e\u3059\u3002<\/p>\n<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">\u3082\u304f\u3058<\/p><ul class=\"toc_list\"><li><a href=\"#i\"><span class=\"toc_number toc_depth_1\">1<\/span> \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a><\/li><li><a href=\"#i-2\"><span class=\"toc_number toc_depth_1\">2<\/span> \u5c65\u6b74<\/a><\/li><li><a href=\"#iOS\"><span class=\"toc_number toc_depth_1\">3<\/span> \u4f7f\u3044\u65b9[iOS\u7de8]<\/a><\/li><li><a href=\"#macOS\"><span class=\"toc_number toc_depth_1\">4<\/span> \u4f7f\u3044\u65b9[macOS\u7de8]<\/a><\/li><li><a href=\"#Windows\"><span class=\"toc_number toc_depth_1\">5<\/span> \u4f7f\u3044\u65b9[Windows\u7de8]<\/a><\/li><li><a href=\"#UbuntuDebian\"><span class=\"toc_number toc_depth_1\">6<\/span> \u4f7f\u3044\u65b9[Ubuntu\/Debian\u7de8]<\/a><\/li><li><a href=\"#i-3\"><span class=\"toc_number toc_depth_1\">7<\/span> \u8a2d\u5b9a\u65b9\u6cd5<\/a><ul><li><a href=\"#i-4\"><span class=\"toc_number toc_depth_2\">7.1<\/span> \u8a2d\u5b9a\u9805\u76ee:<\/a><\/li><\/ul><\/li><li><a href=\"#iOS-2\"><span class=\"toc_number toc_depth_1\">8<\/span> \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[iOS\u7de8]<\/a><\/li><li><a href=\"#macOS-2\"><span class=\"toc_number toc_depth_1\">9<\/span> \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[macOS\u7de8]<\/a><\/li><li><a href=\"#Windows-2\"><span class=\"toc_number toc_depth_1\">10<\/span> \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[Windows\u7de8]<\/a><\/li><li><a href=\"#UbuntuDebian-2\"><span class=\"toc_number toc_depth_1\">11<\/span> \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[Ubuntu\/Debian\u7de8]<\/a><\/li><\/ul><\/div>\n<h3><span id=\"i\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/span><\/h3>\n<div class=\"frame-box\">\n<i class=\"icon-forward\" style=\"color: orange;\"><\/i><strong>ogp_image_generator.py Ver.0.2:<\/strong> <a onclick=\"javascript:pageTracker._trackPageview('\/downloads\/wp-content\/uploads\/2018\/12\/ogp_image_generator_v0.2.zip');\"  href=\"http:\/\/hitoriblog.com\/wp-content\/uploads\/2018\/12\/ogp_image_generator_v0.2.zip\" title=\"ogp_image_generator_v0.2.zip\" alt=\"Ogp image generator v0 2\">ogp_image_generator_v0.2.zip<\/a>\n<\/div>\n<h3><span id=\"i-2\">\u5c65\u6b74<\/span><\/h3>\n<ul style=\"margin-bottom: -10px;\">\n<li><strong>2018.12.10 Version 0.2<\/strong>\n<ul style=\"margin-bottom: -10px;\">\n<li>\u6307\u5b9a\u3057\u305f\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3067\u306f\u5e45\u304c\u306f\u307f\u51fa\u3057\u3066\u3057\u307e\u3046\u5834\u5408\u306b\u3001\u81ea\u52d5\u7684\u306b\u753b\u50cf\u5185\u306b\u53ce\u3081\u308b\u3088\u3046\u306b\u3002\u305d\u306e\u969b\u3001\u753b\u50cf\u306e\u5e45\u3044\u3063\u3071\u3044\u306b\u53ce\u3081\u308b\u306e\u3067\u306f\u306a\u304f\u3001overflow_auto_shrink_rate\u3067\u8a2d\u5b9a\u3057\u305f\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u307e\u3067\u6a2a\u5e45\u3092\u7e2e\u5c0f\u3057\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f95%\u30025%\u5206\u306e\u30de\u30fc\u30b8\u30f3\u3092\u5de6\u53f3\u306b\u6b8b\u3057\u307e\u3059<\/li>\n<\/ul>\n<\/li>\n<li><strong>2018.12.7 Version 0.1<\/strong>\n<ul style=\"margin-bottom: -10px;\">\n<li>\u521d\u7248<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3><span id=\"iOS\">\u4f7f\u3044\u65b9[iOS\u7de8]<\/span><\/h3>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fzip\u3092\u89e3\u51cd\u3057\u305f\u4e2d\u306b\u3042\u308biOS\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306e\u3082\u306e\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>iOS\u3067\u306f\u3001iOS\u7528\u306ePython\u958b\u767a\u74b0\u5883Pythonista 3\u3092\u4f7f\u3044ogp_image_generator.py\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u304c\u6700\u3082ogp_image_generator.py\u306e\u7c21\u5358\u304b\u3064\u4fbf\u5229\u306a\u5229\u7528\u65b9\u6cd5\u3067\u3059\u304c\u3001Pythonista 3\u306f1,200\u5186\u3057\u307e\u3059\u3057\u3001\u5f53\u7136\u306a\u304c\u3089iOS\u642d\u8f09\u6a5f\u3092\u5fc5\u8981\u3068\u3057\u307e\u3059\u3002<\/p>\n<div class=\"frame-box\">\n<i class=\"icon-forward\" style=\"color: orange;\"><\/i><a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/itunes.apple.com\/jp\/app\/pythonista-3\/id1085978097?mt=8');\"  href=\"https:\/\/itunes.apple.com\/jp\/app\/pythonista-3\/id1085978097?mt=8\" target=\"_blank\" rel=\"nofollow\"> \u300cPythonista 3\u300d\u3092App Store\u3067<\/a>\n<\/div>\n<p>\u30bf\u30a4\u30c8\u30eb\u30c6\u30ad\u30b9\u30c8\u306f\u30c6\u30ad\u30b9\u30c8\u5165\u529b\u7a93\u304c\u958b\u304f\u306e\u3067\u305d\u3053\u3067\u5165\u529b\u3002\u5165\u529b\u3057\u305f\u30c6\u30ad\u30b9\u30c8\u306f\u3001\u6b21\u56de\u4ee5\u964d\u5b9f\u884c\u6642\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3068\u3057\u3066\u6b8b\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" style=\"border: 1px solid #999; display:block; margin-left:auto; margin-right:auto;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-src=\"http:\/\/hitoriblog.com\/wp-content\/uploads\/2018\/12\/ogp-image-generator-00008.jpg\" alt=\"Ogp image generator 00008\" title=\"ogp-image-generator-00008.jpg\" border=\"0\" width=\"240\" height=\"426\" \/><noscript><img loading=\"lazy\" style=\"border: 1px solid #999; display:block; margin-left:auto; margin-right:auto;\" src=\"http:\/\/hitoriblog.com\/wp-content\/uploads\/2018\/12\/ogp-image-generator-00008.jpg\" alt=\"Ogp image generator 00008\" title=\"ogp-image-generator-00008.jpg\" border=\"0\" width=\"240\" height=\"426\" \/><\/noscript><\/p>\n<p>\u30c6\u30ad\u30b9\u30c8\u5165\u529b\u3092\u6e08\u307e\u305b\u308b\u3068\u7d9a\u3044\u3066\u753b\u50cf\u30d4\u30c3\u30ab\u30fc\u304c\u8d77\u52d5\u3059\u308b\u306e\u3067\u3001OS\u6a19\u6e96\u306e\u5199\u771f\u30e9\u30a4\u30d6\u30e9\u30ea\u304b\u3089\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" style=\"border: 1px solid #999; display:block; margin-left:auto; margin-right:auto;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-src=\"http:\/\/hitoriblog.com\/wp-content\/uploads\/2018\/12\/ogp-image-generator-00006.jpg\" alt=\"Ogp image generator 00006\" title=\"ogp-image-generator-00006.jpg\" border=\"0\" width=\"240\" height=\"426\" \/><noscript><img loading=\"lazy\" style=\"border: 1px solid #999; display:block; margin-left:auto; margin-right:auto;\" src=\"http:\/\/hitoriblog.com\/wp-content\/uploads\/2018\/12\/ogp-image-generator-00006.jpg\" alt=\"Ogp image generator 00006\" title=\"ogp-image-generator-00006.jpg\" border=\"0\" width=\"240\" height=\"426\" \/><\/noscript><\/p>\n<p>iOS\u3067URL\u3092\u5165\u529b\u3059\u308b\u306e\u306f\u9762\u5012\u306a\u306e\u3067\u3001\u30cd\u30c3\u30c8\u4e0a\u306e\u30d5\u30ea\u30fc\u753b\u50cf\u3092\u4f7f\u3044\u305f\u3044\u5834\u5408\u306f\u3001\u4e00\u5ea6OS\u6a19\u6e96\u306e\u5199\u771f\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u4fdd\u5b58\u3057\u3066\u304a\u304f\u3068\u3088\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u753b\u50cf\u304c\u751f\u6210\u3055\u308c\u308b\u3068\u305d\u308c\u3092\u8868\u793a\u3057\u3001\u7d9a\u3044\u3066\u30d5\u30a1\u30a4\u30eb\u5171\u6709\u306e\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u958b\u304f\u306e\u3067\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u51e6\u7406\u3092\u6c7a\u3081\u3066\u304a\u3057\u307e\u3044\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" style=\"border: 1px solid #999; display:block; margin-left:auto; margin-right:auto;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-src=\"http:\/\/hitoriblog.com\/wp-content\/uploads\/2018\/12\/ogp-image-generator-00009.jpg\" alt=\"Ogp image generator 00009\" title=\"ogp-image-generator-00009.jpg\" border=\"0\" width=\"240\" height=\"426\" \/><noscript><img loading=\"lazy\" style=\"border: 1px solid #999; display:block; margin-left:auto; margin-right:auto;\" src=\"http:\/\/hitoriblog.com\/wp-content\/uploads\/2018\/12\/ogp-image-generator-00009.jpg\" alt=\"Ogp image generator 00009\" title=\"ogp-image-generator-00009.jpg\" border=\"0\" width=\"240\" height=\"426\" \/><\/noscript><\/p>\n<p>\u753b\u50cf\u306e\u5b8c\u6210\u307e\u3067\u306b\u4f55\u56de\u304b\u8a66\u884c\u932f\u8aa4\u304c\u5fc5\u8981\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u6bce\u56de\u8868\u793a\u3055\u308c\u308b\u5171\u6709\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u90aa\u9b54\u306a\u3089\u3001\u8a2d\u5b9a\u306eopen_in\u3092False\u306b\u3059\u308b\u3068\u8868\u793a\u3055\u308c\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u751f\u6210\u3055\u308c\u305f\u753b\u50cf\u3092\u30d5\u30a1\u30a4\u30e9\u30fc\u304b\u3089\u9078\u629e\u3059\u308b\u3068\u305d\u3053\u304b\u3089\u3082\u30d5\u30a1\u30a4\u30eb\u5171\u6709\u304c\u53ef\u80fd\u3067\u3059\u306e\u3067\u3001\u753b\u50cf\u751f\u6210\u5f8c\u306e\u5171\u6709\u30c0\u30a4\u30a2\u30ed\u30b0\u306e\u8868\u793a\u306f\u5fc5\u9808\u306e\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p><img loading=\"lazy\" style=\"border: 1px solid #999; display:block; margin-left:auto; margin-right:auto;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-src=\"http:\/\/hitoriblog.com\/wp-content\/uploads\/2018\/12\/ogp-image-generator-00010.jpg\" alt=\"Ogp image generator 00010\" title=\"ogp-image-generator-00010.jpg\" border=\"0\" width=\"240\" height=\"426\" \/><noscript><img loading=\"lazy\" style=\"border: 1px solid #999; display:block; margin-left:auto; margin-right:auto;\" src=\"http:\/\/hitoriblog.com\/wp-content\/uploads\/2018\/12\/ogp-image-generator-00010.jpg\" alt=\"Ogp image generator 00010\" title=\"ogp-image-generator-00010.jpg\" border=\"0\" width=\"240\" height=\"426\" \/><\/noscript><\/p>\n<p>Pythonista 3\u3067\u306f\u3001Python\u30b9\u30af\u30ea\u30d7\u30c8\u3092iCloud Drive\u4e0a\u306b\u7f6e\u3044\u3066\u304a\u304f\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>iCloud Drive\u4e0a\u306b\u7f6e\u3044\u3066\u304a\u304f\u3068\u753b\u50cf\u3082\u307e\u305fiCloud Drive\u4e0a\u306b\u751f\u6210\u3055\u308c\u3001\u52dd\u624b\u306b\u540c\u671f\u3055\u308c\u3066Mac\u3001Windows\uff08iCloud Drive\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\uff09\u304b\u3089\u3082\u5229\u7528\u3067\u304d\u308b\u305f\u3081\u3001\u672c\u30b9\u30af\u30ea\u30d7\u30c8\u306fiCloud Drive\u4e0a\u306b\u7f6e\u304f\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n<h3><span id=\"macOS\">\u4f7f\u3044\u65b9[macOS\u7de8]<\/span><\/h3>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fzip\u3092\u89e3\u51cd\u3057\u305f\u4e2d\u306b\u3042\u308bmacOS\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306e\u3082\u306e\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<ol style=\"margin-bottom: -10px;\">\n<li>ogp.txt\u3092\u7de8\u96c6\u3057\u3001\u305d\u306e\u4e2d\u306b\u30bf\u30a4\u30c8\u30eb\u30c6\u30ad\u30b9\u30c8\u3092\u66f8\u304d\u307e\u3059\u3002<\/li>\n<li>\u4f7f\u7528\u3057\u305f\u3044\u753b\u50cf\u306fogp.jpg\u3068\u3057\u3066\u4e0a\u66f8\u304d\u3057\u307e\u3059\u3002<\/li>\n<li>\u6700\u5f8c\u306bogp_image_generator.command\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3067\u5b9f\u884c<\/li>\n<\/ol>\n<p>Web\u4e0a\u306b\u3042\u308b\u753b\u50cf\u3092\u4f7f\u3044\u305f\u3044\u5834\u5408\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\ncd \uff1cogp_image_generator.py\u3092\u8a2d\u7f6e\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff1e\npython3 ogp_image_generator.py ogp.txt http:\/\/hoge.com\/background.jpg\n<\/pre>\n<h3><span id=\"Windows\">\u4f7f\u3044\u65b9[Windows\u7de8]<\/span><\/h3>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fzip\u3092\u89e3\u51cd\u3057\u305f\u4e2d\u306b\u3042\u308bWindows\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306e\u3082\u306e\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<ol style=\"margin-bottom: -10px;\">\n<li>ogp.txt\u3092\u7de8\u96c6\u3057\u3001\u305d\u306e\u4e2d\u306b\u30bf\u30a4\u30c8\u30eb\u30c6\u30ad\u30b9\u30c8\u3092\u66f8\u304d\u307e\u3059\u3002<\/li>\n<li>\u4f7f\u7528\u3057\u305f\u3044\u753b\u50cf\u306fogp.jpg\u3068\u3057\u3066\u4e0a\u66f8\u304d\u3057\u307e\u3059\u3002<\/li>\n<li>\u6700\u5f8c\u306b\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30ebogp_image_generator.bat\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3067\u5b9f\u884c<\/li>\n<\/ol>\n<p>Web\u4e0a\u306b\u3042\u308b\u753b\u50cf\u3092\u4f7f\u3044\u305f\u3044\u5834\u5408\u306f\u3001cmd.exe\u3092\u8d77\u52d5\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\ncd \uff1cogp_image_generator.py\u3092\u8a2d\u7f6e\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff1e\npython3 ogp_image_generator.py ogp.txt http:\/\/hoge.com\/background.jpg\n<\/pre>\n<h3><span id=\"UbuntuDebian\">\u4f7f\u3044\u65b9[Ubuntu\/Debian\u7de8]<\/span><\/h3>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fzip\u3092\u89e3\u51cd\u3057\u305f\u4e2d\u306b\u3042\u308bUbuntu\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306e\u3082\u306e\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<ol style=\"margin-bottom: -10px;\">\n<li>ogp.txt\u3092\u7de8\u96c6\u3057\u3001\u305d\u306e\u4e2d\u306b\u30bf\u30a4\u30c8\u30eb\u30c6\u30ad\u30b9\u30c8\u3092\u66f8\u304d\u307e\u3059\u3002<\/li>\n<li>\u4f7f\u7528\u3057\u305f\u3044\u753b\u50cf\u306fogp.jpg\u3068\u3057\u3066\u4e0a\u66f8\u304d\u3057\u307e\u3059\u3002<\/li>\n<li>\u6700\u5f8c\u306bogp_image_generator.sh\u3092\u5b9f\u884c<\/li>\n<\/ol>\n<p>Web\u4e0a\u306b\u3042\u308b\u753b\u50cf\u3092\u4f7f\u3044\u305f\u3044\u5834\u5408\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\ncd \uff1cogp_image_generator.py\u3092\u8a2d\u7f6e\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff1e\npython3 ogp_image_generator.py ogp.txt http:\/\/hoge.com\/background.jpg\n<\/pre>\n<h3><span id=\"i-3\">\u8a2d\u5b9a\u65b9\u6cd5<\/span><\/h3>\n<p>\u751f\u6210\u3059\u308b\u753b\u50cf\u306f\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30ebogp_image_generator.conf\u3067\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>ogp_image_generator.conf\u306f\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u306a\u3069\u3067\u7de8\u96c6\u3057\u3066\u8a2d\u5b9a\u5909\u66f4\u3057\u307e\u3059\u3002\uff08\u521d\u5fc3\u8005\u304c\u4ed8\u3044\u3066\u3044\u3051\u306a\u3044\u3084\u3064\uff09<\/p>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u3001ogp_image_generator.py\u3068\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u8a2d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<h4><span id=\"i-4\">\u8a2d\u5b9a\u9805\u76ee:<\/span><\/h4>\n<div class=\"frame-box\">\n<ul style=\"margin-bottom: -10px;\">\n<li><strong>text_font<\/strong>\n<ul style=\"margin-bottom: -10px;\"l>\n<li>\u4f7f\u7528\u3059\u308b\u30d5\u30a9\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3002\u30d5\u30a9\u30f3\u30c8\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30d5\u30a9\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u307b\u304b\u3001ogp_image_generator.py\u3068\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u7f6e\u3044\u305f\u30d5\u30a9\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u6307\u5b9a\u3067\u3082\u4f7f\u7528\u304c\u53ef\u80fd\u3067\u3059\u3002.ttf\u3068.otf\u304c\u5229\u7528\u3067\u304d\u308b\u3053\u3068\u306f\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u3002Python3\u3068\u30e9\u30a4\u30d6\u30e9\u30eapillow\u304c\u30d5\u30a9\u30f3\u30c8\u3092\u89e3\u91c8\u3059\u308b\u306e\u3067\u3001\u5229\u7528\u306fOS\u306e\u7a2e\u985e\u3001\u30d5\u30a9\u30f3\u30c8\u306e\u30b7\u30b9\u30c6\u30e0\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u554f\u3044\u307e\u305b\u3093\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>text_size<\/strong>\n<ul style=\"margin-bottom: -10px;\">\n<li>\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u6307\u5b9a\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>text_fill<\/strong>\n<ul style=\"margin-bottom: -10px;\">\n<li>\u6587\u5b57\u306e\u8272\u3068\u900f\u660e\u5ea6\u3092\u6307\u5b9a\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>line_space<\/strong>\n<ul style=\"margin-bottom: -10px;\">\n<li>\u884c\u9593\u30b9\u30da\u30fc\u30b9\u3092\u6307\u5b9a\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>line_alignment<\/strong>\n<ul style=\"margin-bottom: -10px;\">\n<li>\u884c\u63c3\u3048\u3092\u6307\u5b9a\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>rectangle_alpha<\/strong>\n<ul style=\"margin-bottom: -10px;\">\n<li>\u30bf\u30a4\u30c8\u30eb\u30c6\u30ad\u30b9\u30c8\u306e\u88cf\u306b\u6577\u304f\u9ed2\u3044\u30dc\u30c3\u30af\u30b9\u306e\u900f\u660e\u5ea6\u3092\u6307\u5b9a\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>rectangle_margin<\/strong>\n<ul style=\"margin-bottom: -10px;\">\n<li>\u30bf\u30a4\u30c8\u30eb\u30c6\u30ad\u30b9\u30c8\u306e\u88cf\u306b\u6577\u304f\u9ed2\u3044\u30dc\u30c3\u30af\u30b9\u306e\u5929\u5730\u306e\u30de\u30fc\u30b8\u30f3\u3092\u6307\u5b9a\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>overflow_auto_shrink_rate<\/strong>\n<ul style=\"margin-bottom: -10px;\">\n<li>\u6587\u5b57\u5e45\u304c\u6ea2\u308c\u81ea\u52d5\u7684\u306b\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092\u7e2e\u5c0f\u3059\u308b\u52d5\u4f5c\u304c\u767a\u52d5\u3057\u305f\u5834\u5408\u306e100%\u5e45\u304b\u3089\u306e\u7e2e\u5c0f\u7387\uff08\u301c100\uff09<\/li>\n<\/ul>\n<\/li>\n<li><strong>final_width<\/strong>\n<ul style=\"margin-bottom: -10px;\">\n<li>\u51fa\u529b\u753b\u50cf\u306e\u5e45\u3092\u30d4\u30af\u30bb\u30eb\u6570\u3067\u6307\u5b9a\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>final_height<\/strong>\n<ul style=\"margin-bottom: -10px;\">\n<li>\u51fa\u529b\u753b\u50cf\u306e\u9ad8\u3055\u3092\u30d4\u30af\u30bb\u30eb\u6570\u3067\u6307\u5b9a\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>open_in<\/strong>\n<ul style=\"margin-bottom: -10px;\">\n<li>iOS\u306b\u304a\u3044\u3066\u3001\u753b\u50cf\u751f\u6210\u5f8c\u306b\u30d5\u30a1\u30a4\u30eb\u5171\u6709\u30c0\u30a4\u30a2\u30ed\u30b0\u3092\u8868\u793a\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u6c7a\u5b9a\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/div>\n<h3><span id=\"iOS-2\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[iOS\u7de8]<\/span><\/h3>\n<ol style=\"margin-bottom: -10px;\">\n<li><a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/itunes.apple.com\/jp\/app\/pythonista-3\/id1085978097?mt=8');\"  href=\"https:\/\/itunes.apple.com\/jp\/app\/pythonista-3\/id1085978097?mt=8\" target=\"_blank\" rel=\"nofollow\">Pythonista 3<\/a>\u3092iOS\u642d\u8f09\u6a5f\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u5b9f\u884c<\/li>\n<li>iCloud Drive\u4e0a\u306bPythonista 3\u30d5\u30a9\u30eb\u30c0\u304c\u51fa\u73fe\u3057\u305f\u3053\u3068\u3092\u78ba\u8a8d<\/li>\n<li>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\uff08ogp_image_generator.py\uff09\u3068\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff08ogp_image_generator.conf\uff09\u3092iCloud Drive\u5185\u306ePythonista 3\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc<\/li>\n<li>\u540c\u671f\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u30a2\u30d7\u30eaPythonista 3\u306eiCloud\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u73fe\u308c\u305fogp_image_generator.py\u3092\u958b\u304f<\/li>\n<li>\u753b\u9762\u53f3\u4e0a\u306e\u30ec\u30f3\u30c1\u30a2\u30a4\u30b3\u30f3\u3092\u30bf\u30c3\u30d7<\/li>\n<li>\u30a2\u30a4\u30b3\u30f3\u300cHome Screen\u300d\u3092\u30bf\u30c3\u30d7<\/li>\n<li>\u30a2\u30a4\u30b3\u30f3\u3001\u8272\u306a\u3069\u3092\u9078\u3093\u3067\u3001\u4ee5\u964d\u753b\u9762\u306e\u6848\u5185\u306b\u5f93\u3044\u3001Home\u30b9\u30af\u30ea\u30fc\u30f3\u4e0a\u306bogp_image_generator.py\u306e\u8d77\u52d5\u30a2\u30a4\u30b3\u30f3\u3092\u8a2d\u7f6e<\/li>\n<\/ol>\n<p>\u30b7\u30b9\u30c6\u30e0\u306b\u306a\u3044\u30d5\u30a9\u30f3\u30c8\u3092\u4f7f\u3044\u305f\u3044\u5834\u5408\u306f\u3001iCloud Drive\u306ePythonista 3\u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u306b\u30b3\u30d4\u30fc\u3057\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30ebogp_image_generator.conf\u306etext_font\u3067\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3002<\/p>\n<p>macOS\u3067\u300c\/Library\/Fonts\u300d\u306e\u4e2d\u306b\u5165\u3063\u3066\u3044\u308b\u30d5\u30a9\u30f3\u30c8\u304c\u3001\u6280\u8853\u7684\u306b\u306f\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3067\u30bd\u30fc\u30c8\u3059\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u306e\u5927\u304d\u3044\u30d5\u30a9\u30f3\u30c8\u306e\u4e2d\u306b\u65e5\u672c\u8a9e\u30d5\u30a9\u30f3\u30c8\u304c\u898b\u3064\u304b\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<h3><span id=\"macOS-2\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[macOS\u7de8]<\/span><\/h3>\n<ol style=\"margin-bottom: -10px;\">\n<li>Homebrew\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb: <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/brew.sh\/index_ja');\"  href=\"https:\/\/brew.sh\/index_ja\" target=\"_blank\" rel=\"nofollow\">macOS \u7528\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc \u2014 macOS \u7528\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc<\/a><\/li>\n<li>System Integrity Protecton (SIP)\u3092\u7121\u52b9\u5316: <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/qiita.com\/zaburo\/items\/c650cda45c858fe856a9');\"  href=\"https:\/\/qiita.com\/zaburo\/items\/c650cda45c858fe856a9\" target=\"_blank\" rel=\"nofollow\">Mac OS X El Capiptan\u3067SIP\u3092\u7121\u52b9\u5316\u3059\u308b &#8211; Qiita<\/a><\/li>\n<li>\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u6b21\u306e\u3088\u3046\u306b\u5b9f\u884c:\n<ul style=\"margin-bottom: -10px;\">\n<li>sudo mkdir \/usr\/local\/<\/li>\n<li>sudo chown -R $(whoami) \/usr\/local\/<\/li>\n<li>brew install python3<\/li>\n<li>pip3 install pillow<\/li>\n<\/ul>\n<\/li>\n<li>System Integrity Protecton (SIP)\u3092\u6709\u52b9\u5316: <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/qiita.com\/zaburo\/items\/c650cda45c858fe856a9');\"  href=\"https:\/\/qiita.com\/zaburo\/items\/c650cda45c858fe856a9\" target=\"_blank\" rel=\"nofollow\">Mac OS X El Capiptan\u3067SIP\u3092\u7121\u52b9\u5316\u3059\u308b &#8211; Qiita<\/a><\/li>\n<\/ol>\n<h3><span id=\"Windows-2\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[Windows\u7de8]<\/span><\/h3>\n<p>Windows\u7528\u306ePython\u3092\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>\u305f\u304f\u3055\u3093\u30ea\u30b9\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u4e00\u756a\u4e0a\u306b\u3042\u308b\u300cLatest Python3\u301c\u300d\u3068\u3044\u3046\u3082\u306e\u3092\u5229\u7528\u3059\u308c\u3070\u3088\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<div class=\"frame-box\">\n<i class=\"icon-forward\" style=\"color: orange;\"><\/i><a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.python.org\/downloads\/windows\/');\"  href=\"https:\/\/www.python.org\/downloads\/windows\/\" target=\"_blank\" rel=\"nofollow\">Python Releases for Windows | Python.org<\/a>\n<\/div>\n<p>Python\u672c\u4f53\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u7d42\u308f\u3063\u305f\u3089\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fzip\u3092\u89e3\u51cd\u3057\u305f\u4e2d\u306b\u3042\u308bWindows\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306einstall_pillow.bat\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<h3><span id=\"UbuntuDebian-2\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb[Ubuntu\/Debian\u7de8]<\/span><\/h3>\n<p>Python3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001pip3\u304b\u3089pillow\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo apt update\nsudo apt install python3 python3-pip fonts-takao\nsudo pip3 install pillow\n<\/pre>\n<p>\u3068\u308a\u3042\u3048\u305a\u30d5\u30a9\u30f3\u30c8\u306fTakao\u3092\u5229\u7528\u3059\u308b\u60f3\u5b9a\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u3044\u3066\u304a\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u30d5\u30a9\u30f3\u30c8\u306f\u300c\/usr\/share\/fonts\/truetype\u300d\u306b\u3042\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001\u898b\u51fa\u3057\u306b\u4f7f\u3048\u308b\u3088\u3046\u306a\u592a\u3044\u30d5\u30a9\u30f3\u30c8\u306f\u306a\u3044\u3068\u601d\u308f\u308c\u308b\u306e\u3067\u3001\u3069\u3053\u304b\u304b\u3089\u304b\u8abf\u9054\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d6\u30ed\u30b0\u3092\u66f8\u3044\u3066\u3044\u3066\u9762\u5012\u81ed\u3044\u3068\u601d\u3046\u3053\u3068\u306e\u7b46\u982d\u306b\u3001\u8a18\u4e8b\u5192\u982d\u306b\u914d\u7f6e\u3059\u308b\u30bf\u30a4\u30c8\u30eb\u753b\u50cf\u306e\u7528 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":55965,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[127],"tags":[],"jetpack_featured_media_url":"http:\/\/hitoriblog.com\/wp-content\/uploads\/2018\/12\/ogp-image-generator-00000.jpg","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6Z3gA-ewY","_links":{"self":[{"href":"http:\/\/hitoriblog.com\/index.php?rest_route=\/wp\/v2\/posts\/55860"}],"collection":[{"href":"http:\/\/hitoriblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/hitoriblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/hitoriblog.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/hitoriblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=55860"}],"version-history":[{"count":0,"href":"http:\/\/hitoriblog.com\/index.php?rest_route=\/wp\/v2\/posts\/55860\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/hitoriblog.com\/index.php?rest_route=\/wp\/v2\/media\/55965"}],"wp:attachment":[{"href":"http:\/\/hitoriblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=55860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/hitoriblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=55860"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/hitoriblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=55860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}