<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ardarim</author_name>
  <author_url>https://blog.hatena.ne.jp/ardarim/</author_url>
  <blog_title>ardarimのブログ</blog_title>
  <blog_url>https://ardarim.hatenablog.com/</blog_url>
  <categories>
    <anon>Windows CE</anon>
  </categories>
  <description>やっぱり人任せじゃだめってことね。 StretchBlt使用 面積平均法 とりあえず一番単純そうなやり方で実装してみたが、それでもこの明らかな差。これで十分普通に使えそうな品質。擬似(固定)面積平均法？ 50%固定と考えて、4ピクセルの平均から1ピクセル分を計算。カタログだとグレスケ前提なので輝度計算だけになって楽すぎる。50%(2:1)、33%(3:1)、25%(4:1)とか固定倍率に限定すればロジック展開できるし。 もっともStretchBltのアルゴリズムがひどすぎる（ニアレストネイバー法？）だけかもしれないが。ニアレストネイバー法とか格好よさげな名前だけど要するにドットを間引いてるだけ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fardarim.hatenablog.com%2Fentry%2F20090625%2F1245946043&quot; title=&quot; 画像縮小 - ardarimのブログ&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>http://f.hatena.ne.jp/images/fotolife/a/ardarim/20090626/20090626003023.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-06-25 01:07:23</published>
  <title> 画像縮小</title>
  <type>rich</type>
  <url>https://ardarim.hatenablog.com/entry/20090625/1245946043</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
