<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eiji8pou</author_name>
  <author_url>https://blog.hatena.ne.jp/eiji8pou/</author_url>
  <blog_title>eiji8pou's diary</blog_title>
  <blog_url>https://eiji8pou.hatenadiary.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>画面をsrcと称し、拡大縮小される画像をdestと称す。 ※なんかさー。Windowsプログラミングの作法じゃそんな風になってるみたいなんだけど、よく知らないんだよね。俺、モグリだから。fooとかbarとかhogeとかfugaみたいなもん？ destを拡大縮小（回転はしないとする）して、srcに貼り付けると言う動作。 ネックになるのは、拡大と縮小でどちらでも同じ結果になるようなアルゴリズムを考えないといけないということ。 srcの任意の座標に対し、それに対応するdestの座標の範囲が決まり、それらの平均の色を取得するのが基本のアルゴリズム。 struct PIXEL { int r; int …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feiji8pou.hatenadiary.com%2Fentry%2F20110626%2F1309020710&quot; title=&quot;画像の拡大縮小のアルゴリズムについてのメモ - eiji8pou&amp;#39;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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-06-26 01:51:50</published>
  <title>画像の拡大縮小のアルゴリズムについてのメモ</title>
  <type>rich</type>
  <url>https://eiji8pou.hatenadiary.com/entry/20110626/1309020710</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
