{"published":"2009-09-20 08:35:31","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fclimpy.hatenadiary.org%2Fentry%2F20090920%2F1253403331\" title=\"PIL - climpy\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"climpy\u306e\u65e5\u8a18","author_name":"climpy","author_url":"https://blog.hatena.ne.jp/climpy/","version":"1.0","categories":["Python"],"type":"rich","image_url":null,"provider_url":"https://hatena.blog","description":"Python\u3067\u753b\u50cf\u51e6\u7406\u3092\u3059\u308b\u3068\u304d\u306f PIL(Python Imaging Library)\u3068\u3044\u3046\u306e\u304c\u4f7f\u3048\u308b\u3002GD \u3082 ImageMagick \u3082\u4f7f\u3048\u308b\u304c\u57fa\u672c\u306f PIL \u306e\u3088\u3046\u306b\u898b\u3048\u308b\u3002 http://www.pythonware.com/products/pil/200\u00d7200\u30c9\u30c3\u30c8\u80cc\u666f\u9ed2\u306e\u753b\u50cf\u306b1\u672c\u767d\u7dda\u3092\u5f15\u304f\u3060\u3051\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306f import Image import ImageDraw im = Image.new('RGB', (200, 200), (0, 0, 0)) dr = ImageDraw.new(im) dr.line(((0,0), (100,100)), (255, 25\u2026","width":"100%","title":"PIL","provider_name":"Hatena Blog","url":"https://climpy.hatenadiary.org/entry/20090920/1253403331","blog_url":"https://climpy.hatenadiary.org/","height":"190"}