<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cruller</author_name>
  <author_url>https://blog.hatena.ne.jp/cruller/</author_url>
  <blog_title>cBlog</blog_title>
  <blog_url>https://yaritakunai.hatenablog.com/</blog_url>
  <categories>
    <anon>画像処理</anon>
  </categories>
  <description>←前回やっと、自作入出力ライブラリできました。これで、bmpフォーマットのことは何も考えずに、自分で定義した構造体の上で画像処理できます。今まで迷っていたことに、コメントする感じで答えていきます。 今日も社内ニート - cBlog あと、各ラインのピクセル数を4の倍数に切り上げるには、(int)((n +3)/4)*4とすればいいことを思いついた。 ピクセル数じゃないですね。byte数が4の倍数になれば十分です。 bmpをcsvにするー - cBlog （もしかしたら、biXPelsPerMeterとbiYPelsPerMeterはキープした方がいいのかな？ 悩む） 生成した画像の解像度を知る…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyaritakunai.hatenablog.com%2Fentry%2F2014%2F12%2F31%2F092145&quot; title=&quot;【C言語】bmp入出力とグレースケール変換 - cBlog&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.user.blog.st-hatena.com/default_entry_og_image/103530409/1606571170183664</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-12-31 09:21:45</published>
  <title>【C言語】bmp入出力とグレースケール変換</title>
  <type>rich</type>
  <url>https://yaritakunai.hatenablog.com/entry/2014/12/31/092145</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
