<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuheiomori0718</author_name>
  <author_url>https://blog.hatena.ne.jp/yuheiomori0718/</author_url>
  <blog_title>メモ置き場</blog_title>
  <blog_url>https://y0m0r.hateblo.jp/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>resizeitというのを使ってみたけど、動かなかったので、pythonでやっつけスクリプトを書いた # coding=utf-8 from PIL import Image import glob import os # 縮小前の画像があるdir FROM_DIR = &quot;/path/to/from_dir&quot; # 縮小後の画像を置くdir TO_DIR = &quot;/path/to/to_dir&quot; # 縮小率 ratio = 0.3 for infile in glob.glob(os.path.join(FROM_DIR, &quot;*.png&quot;)): im = Image.open(infile) im…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20130718%2F1374146869&quot; title=&quot;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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-07-18 20:27:49</published>
  <title>pythonで複数画像を一括で縮小する</title>
  <type>rich</type>
  <url>https://y0m0r.hateblo.jp/entry/20130718/1374146869</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
