<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aipacommander</author_name>
  <author_url>https://blog.hatena.ne.jp/aipacommander/</author_url>
  <blog_title>ITの隊長のブログ</blog_title>
  <blog_url>https://aipacommander.com/</blog_url>
  <categories>
    <anon>Python2</anon>
  </categories>
  <description>集中切れたからブログ書く. これが良い手法かどうかわからないが、numpyからpillowいったり、Python file objectからpillowいったり、pillowからPython file objectへコンバートしてみた。 環境 Python2.7.11 numpy==1.13.1 Pillow==4.2.1 多分だけど、3系もさほど変わらないと思う。 準備 &gt;&gt;&gt; from PIL import Image &gt;&gt;&gt; import numpy as np &gt;&gt;&gt; import io numpy -&gt; pillow &gt;&gt;&gt; numpy_object = np.zeros([500,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faipacommander.com%2Fentry%2F2017%2F09%2F05%2F141135&quot; title=&quot;Numpy &amp;lt;-&amp;gt; Pillow &amp;lt;-&amp;gt; Python file object - ITの隊長のブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-09-05 14:11:35</published>
  <title>Numpy &lt;-&gt; Pillow &lt;-&gt; Python file object</title>
  <type>rich</type>
  <url>https://aipacommander.com/entry/2017/09/05/141135</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
