<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>haru-s</author_name>
  <author_url>https://blog.hatena.ne.jp/haru-s/</author_url>
  <blog_title>...ing logging 4.0</blog_title>
  <blog_url>https://haru-s.hatenablog.com/</blog_url>
  <categories>
    <anon>D言語</anon>
  </categories>
  <description>かなり手こずったので結果だけ置いておきます。 ubyte[] getBitmapBuffer(BITMAPINFO* pbi) { assert(pbi); const uint bitsPerPixel = pbi.bmiHeader.biPlanes * pbi.bmiHeader.biBitCount; const uint colorMaskBytes = { if (pbi.bmiHeader.biCompression == BI_BITFIELDS) return 4 * 3; // 4 bytes * 3 masks(R,G,B) else return 0; }(); con…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fharu-s.hatenablog.com%2Fentry%2F2023%2F03%2F19%2F175400&quot; title=&quot;BITMAPINFOから画像データ全体のバイナリ列を得る - ...ing logging 4.0&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-03-19 17:54:00</published>
  <title>BITMAPINFOから画像データ全体のバイナリ列を得る</title>
  <type>rich</type>
  <url>https://haru-s.hatenablog.com/entry/2023/03/19/175400</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
