<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>riocampos</author_name>
  <author_url>https://blog.hatena.ne.jp/riocampos/</author_url>
  <blog_title>別館 子子子子子子（ねこのここねこ）はてブロ部</blog_title>
  <blog_url>https://riocampos-tech.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>画像処理</anon>
  </categories>
  <description>RMagick RMagickでは画像を require 'RMagick' img = Magick::Image.read('original.png').first として読み込みます*1。 RMagickには拡大縮小のメソッドとして何種類かあります。パラメータとしては拡大（縮小）率scaleを指定、または縦横ピクセル(width, height)を指定、の二種類があります。 resizeメソッド resizeメソッドは，（元画像によるところはありますが）画質もよいですがファイルサイズは大きくなりがちです。また，リサイズの計算を行うためのフィルタも指定ができ，処理内容を調整することができ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Friocampos-tech.hatenablog.com%2Fentry%2F20130613%2Fp1&quot; title=&quot;rubyで画像の拡大縮小（RMagickの拡大縮小関係メソッドの違い） - 別館 子子子子子子（ねこのここねこ）はてブロ部&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>2013-06-13 00:00:01</published>
  <title>rubyで画像の拡大縮小（RMagickの拡大縮小関係メソッドの違い）</title>
  <type>rich</type>
  <url>https://riocampos-tech.hatenablog.com/entry/20130613/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
