<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xef</author_name>
  <author_url>https://blog.hatena.ne.jp/xef/</author_url>
  <blog_title>Soleil cou coupe</blog_title>
  <blog_url>https://xef.hatenadiary.org/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>これを見ていたら手がうずうずしてきたので描いてみた。Cool Ascii Animation using an Image Sprite, Canvas, and Javascriptリンク先はカラー画像(JavaマスコットキャラのDukeくん)をCanvasで グレイスケール化し、 輝度にあわせてアスキーアートに変換している。 本記事ではPython/PILによって見よう見まねでグレイスケールとアスキーアート画像を作成する。 画像のグレイスケール化 PILを使えば簡単に行うことができる。 from PIL import Image from PIL import ImageOps if __…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxef.hatenadiary.org%2Fentry%2F20120920%2Fp1&quot; title=&quot;Python/PILによる画像のグレイスケール化とアスキーアート化 - Soleil cou coupe&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/x/xef/20120920/20120920040823.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-09-20 00:00:00</published>
  <title>Python/PILによる画像のグレイスケール化とアスキーアート化</title>
  <type>rich</type>
  <url>https://xef.hatenadiary.org/entry/20120920/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
