<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chayarokurokuro</author_name>
  <author_url>https://blog.hatena.ne.jp/chayarokurokuro/</author_url>
  <blog_title>よちよちpython   </blog_title>
  <blog_url>https://chayarokurokuro.hatenablog.com/</blog_url>
  <categories>
    <anon>JupyterNotebook</anon>
    <anon>python</anon>
    <anon>画像処理</anon>
  </categories>
  <description>画像に別の画像を重ねて貼り付けを行います。 画像処理用ライブラリのPillowを使用。 目次 目次 実行環境 画像に別の画像を重ねて貼り付ける 画像の準備 画像のサイズ確認 大きい画像(神社)のコピー 画像の貼り付け合わせ 貼り付け合わせた画像の保存 貼り付け位置の指定 はみ出すとカットされる 背景と貼り付け画像を逆にするとどうなるか 実行環境 Androidスマホ termux Python3.8 JupyterNotebook 外部ライブラリPillow pip install pillowなどでインストールしておく 貼り付ける画像を2枚準備 画像に別の画像を重ねて貼り付ける 画像の準備 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchayarokurokuro.hatenablog.com%2Fentry%2F2020%2F08%2F14%2F065232&quot; title=&quot;【Pillow】画像に別の画像を重ねて貼り付ける方法 - よちよち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/c/chayarokurokuro/20200814/20200814063357.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-08-14 06:52:32</published>
  <title>【Pillow】画像に別の画像を重ねて貼り付ける方法</title>
  <type>rich</type>
  <url>https://chayarokurokuro.hatenablog.com/entry/2020/08/14/065232</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
