<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>edo_m18</author_name>
  <author_url>https://blog.hatena.ne.jp/edo_m18/</author_url>
  <blog_title>e.blog</blog_title>
  <blog_url>https://edom18.hateblo.jp/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>Unity</anon>
  </categories>
  <description>概要 PNG画像自体に情報を埋め込めたら便利かなーと思ってPNGのテキスト領域について調べたのでそのメモです。 テクスチャを EncodeToPNG() でPNGデータ化したあとに、テキスト領域を追加してファイルに書き出し、それを読み込んでパースして表示、というところまでをやります。 今回実装したものはGitHubにあげてあるので、実際の挙動を見たい方はそちらをご覧ください。 github.com 概要 PNGデータの構造 シグネチャ チャンクの構造 どこに埋め込むか IHDRチャンクの構造 挿入位置はIndex 33から tEXtチャンク構造 C#で埋め込みの実装 LengthとCRCはビッ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fedom18.hateblo.jp%2Fentry%2F2022%2F02%2F14%2F082055&quot; title=&quot;PNGのText ChunkにC#でデータを書き込む - e.blog&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/e/edo_m18/20220213/20220213230255.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-02-14 08:20:55</published>
  <title>PNGのText ChunkにC#でデータを書き込む</title>
  <type>rich</type>
  <url>https://edom18.hateblo.jp/entry/2022/02/14/082055</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
