{"published":"2020-04-12 22:09:01","title":"python\u3067png -> jpg\u306e\u5909\u63db","provider_name":"Hatena Blog","url":"https://jsapachehtml.hatenablog.com/entry/2020/04/12/220901","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjsapachehtml.hatenablog.com%2Fentry%2F2020%2F04%2F12%2F220901\" title=\"python\u3067png -&gt; jpg\u306e\u5909\u63db - MEMOcho-\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","version":"1.0","categories":[],"author_url":"https://blog.hatena.ne.jp/y-kamiya/","blog_title":"MEMOcho-","description":"png\u3067\u53d7\u3051\u53d6\u3063\u305f\u753b\u50cf\u3092jpg\u306b\u5909\u63db\u3057\u3066\u4f7f\u3044\u305f\u3044\u5834\u9762\u304c\u3042\u3063\u305f\u305f\u3081\u30e1\u30e2 \u4e00\u5ea6\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u4fdd\u5b58\u3059\u308c\u3070\u3082\u3061\u308d\u3093OK\u3060\u304c\u7279\u306b\u30d5\u30a1\u30a4\u30eb\u306b\u3059\u308b\u5fc5\u8981\u304c\u306a\u304b\u3063\u305f\u305f\u3081\u305d\u306e\u65b9\u6cd5\u3092\u63a2\u3057\u305f \u305d\u306e\u3082\u306e\u305a\u3070\u308a\u306a\u306e\u304c\u3042\u3063\u305f python: Convert from PNG to JPG without saving file to disk using PIL - Stack Overflow BytesIO\u3092\u4f7f\u3048\u3070OK \uff08stackoverflow\u3088\u308a\u5f15\u7528\uff09 from io import BytesIO def convertToJpeg(im): with BytesIO() as f: im.save(f, for\u2026","width":"100%","image_url":null,"author_name":"y-kamiya","height":"190","blog_url":"https://jsapachehtml.hatenablog.com/","provider_url":"https://hatena.blog"}