<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Takachan</author_name>
  <author_url>https://blog.hatena.ne.jp/Takachan/</author_url>
  <blog_title>PG日誌</blog_title>
  <blog_url>https://takap-tech.com/</blog_url>
  <categories>
    <anon>.NET</anon>
    <anon>.NET Core</anon>
    <anon>C#</anon>
    <anon>Tool</anon>
    <anon>作ってみた</anon>
  </categories>
  <description>例えばスプライトアニメーションで等間隔に並んでいるデータの余白が大きすぎる場合、各画像の余白をトリムしたい場合がありますが、1枚の画像になっている場合トリミングするのはなかなか大変です。今回はそういった画像を 実行例 分かりやすいように極端に削っていますが、例えば以下のような４列4行な画像の各グリッドのの上下左右を20pxずつ削って 以下のように変換して保存しなおします。 実装・確認環境 この記事は以下の環境で作成及び動作確認を行っています。 Visual Studio 2019（16.11.4） .NET 5 + C# 9.0 Windows 10 以下の記事に従ってプロジェクトをセットアッ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakap-tech.com%2Fentry%2F2021%2F10%2F09%2F193926&quot; title=&quot;等間隔に並んだ画像データをグリッド毎にトリミングする - PG日誌&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/T/Takachan/20211009/20211009191502.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-10-09 19:39:26</published>
  <title>等間隔に並んだ画像データをグリッド毎にトリミングする</title>
  <type>rich</type>
  <url>https://takap-tech.com/entry/2021/10/09/193926</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
