<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>art2nd</author_name>
  <author_url>https://blog.hatena.ne.jp/art2nd/</author_url>
  <blog_title>晴歩雨描</blog_title>
  <blog_url>https://2ndart.hatenablog.com/</blog_url>
  <categories>
    <anon>写真・カメラ</anon>
    <anon>コンピュータ</anon>
  </categories>
  <description>野鳥写真では、背景の明るさに影響されるのか、鳥が暗めに写ることが多い。 ブログに上げる写真で野鳥が暗めの場合は、GIMPのトーンカーブで明るい部分をより明るくする補正をかけている。ただ、枚数が多いと、結構面倒。 GIMPのトーンカーブによる画像処理を、バッチで複数画像に一括適用する方法も試したが、複数のトーンカーブでやろうとすると、手間がかかる場合もある。 今回、ImageMagickの「-level」を使って、トーンカーブを模倣する方式を試した。 「-mogrify」オプションを使うことで、複数画像ファイルを一括して処理できる。 mkdir output（出力用フォルダーを作成） magic…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F2ndart.hatenablog.com%2Fentry%2F2025%2F02%2F06%2F162502&quot; title=&quot;ImageMagickの-levelでトーンカーブを模倣して、画像の明るさ調整を一括で行う。 - 晴歩雨描&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/a/art2nd/20250206/20250206161422.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-02-06 16:25:02</published>
  <title>ImageMagickの-levelでトーンカーブを模倣して、画像の明るさ調整を一括で行う。</title>
  <type>rich</type>
  <url>https://2ndart.hatenablog.com/entry/2025/02/06/162502</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
