<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shikaku_sh</author_name>
  <author_url>https://blog.hatena.ne.jp/shikaku_sh/</author_url>
  <blog_title>sh1’s diary</blog_title>
  <blog_url>https://shikaku-sh.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>ゲーム</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>指定したウィンドウ（DMM 版ウマ娘）を取得する ハンドルからウィンドウの表示画像を取得する 画像の切り出し OCR にかけるとき サンプル 参考 DMM 版のウマ娘のウィンドウ画像をキャプチャーをして、あれこれサポートするツールでは「UmaUmaCruise」が有名です。 で、このツールがどうやってウマ娘の画面をキャプチャーしているのかな、って調べたところ C++ のコーディングだったので、C# に置き換えつつ、キャプチャーできるかなーってのをやってみた。 以下、うまくできたので公開。 指定したウィンドウ（DMM 版ウマ娘）を取得する C++ コードの真似なので、Win32 API をたくさ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshikaku-sh.hatenablog.com%2Fentry%2Fc-charp-umamusume-umaumacruise-image-capture-tech&quot; title=&quot;C# DMM 版ウマ娘のウィンドウ画像をキャプチャー保存する (+OCR メモ) - sh1’s diary&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/s/shikaku_sh/20210607/20210607131300.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-06-07 13:16:58</published>
  <title>C# DMM 版ウマ娘のウィンドウ画像をキャプチャー保存する (+OCR メモ)</title>
  <type>rich</type>
  <url>https://shikaku-sh.hatenablog.com/entry/c-charp-umamusume-umaumacruise-image-capture-tech</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
