<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rare_Remrin</author_name>
  <author_url>https://blog.hatena.ne.jp/rare_Remrin/</author_url>
  <blog_title>Remrinのpython攻略日記</blog_title>
  <blog_url>https://python-remrin.hatenadiary.jp/</blog_url>
  <categories>
    <anon>PIL</anon>
    <anon>python</anon>
  </categories>
  <description>PIL(Python Imaging Library)の使い方について。 画像の読み込み img = Image.open(&quot;filepass&quot;) のように、ファイルを読み込む。 この時点では参照されているだけで、必要になってからデータを読み込む。 下の例では作業ディレクトリの下のdataフォルダに該当ファイルがなければ FileNotFoundError: [Errno 2] No such file or directory: 'data/img01.png' というエラーが出る。 from PIL import Image # 画像を読み込む img = Image.open( &quot;dat…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpython-remrin.hatenadiary.jp%2Fentry%2F2017%2F05%2F20%2F181211&quot; title=&quot;PILの使い方（１） - Remrinのpython攻略日記&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>https://cdn-ak.f.st-hatena.com/images/fotolife/r/rare_Remrin/20170520/20170520162837.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-05-20 18:12:11</published>
  <title>PILの使い方（１）</title>
  <type>rich</type>
  <url>https://python-remrin.hatenadiary.jp/entry/2017/05/20/181211</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
