{"width":"100%","description":"Python\u3067\u4f55\u3084\u308d\u3046\u304b\u306a\u30fc\u3068\u601d\u3063\u3066\u3001C\u8a00\u8a9e\u3067\u3084\u308a\u304b\u3051\u3060\u3063\u305f\u753b\u50cf\u51e6\u7406\u306b\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002C\u8a00\u8a9e\u306e\u3068\u304d\u3068\u540c\u69d8\u306b\u3001\u307e\u305a\u306f\u30b0\u30ec\u30fc\u30b9\u30b1\u30fc\u30eb\u5909\u63db\u66f8\u3044\u3066\u307f\u305f\u3002 \u3059\u3054\u3044\u3057\u3087\u307c\u3044\u3051\u3069\u30b3\u30fc\u30c9\u8f09\u305b\u3066\u307f\u308b\u3002\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u5f15\u6570\u3067\u30d5\u30a1\u30a4\u30eb\u540d\u53d7\u3051\u53d6\u3063\u3066\u51fa\u529b\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u307e\u3059\u3002 rgb2l.py import sys from PIL import Image if len(sys.argv) != 3: print('Usage: python rgb2l.py input output') sys.exit(1) img = Image.open(sys.argv[1]) img_l = img.convert('L'\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyaritakunai.hatenablog.com%2Fentry%2F2016%2F02%2F18%2F224000\" title=\"\u306f\u3058\u3081\u3066\u306ePython\uff08\u753b\u50cf\u51e6\u7406 | \u30b0\u30ec\u30fc\u30b9\u30b1\u30fc\u30eb\u5909\u63db\uff09 - cBlog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","blog_title":"cBlog","version":"1.0","author_name":"cruller","height":"190","author_url":"https://blog.hatena.ne.jp/cruller/","published":"2016-02-18 22:40:00","categories":["\u753b\u50cf\u51e6\u7406"],"type":"rich","url":"https://yaritakunai.hatenablog.com/entry/2016/02/18/224000","provider_name":"Hatena Blog","image_url":"https://images-fe.ssl-images-amazon.com/images/I/51QXhImnmFL._SL160_.jpg","blog_url":"https://yaritakunai.hatenablog.com/","title":"\u306f\u3058\u3081\u3066\u306ePython\uff08\u753b\u50cf\u51e6\u7406 | \u30b0\u30ec\u30fc\u30b9\u30b1\u30fc\u30eb\u5909\u63db\uff09"}