<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>spitfire_tree</author_name>
  <author_url>https://blog.hatena.ne.jp/spitfire_tree/</author_url>
  <blog_title>happy lie, happy life</blog_title>
  <blog_url>https://spitfire-tree.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>RMagick が内部で使用している ImageMagick には PDF を jpg などの画像に変換する機能があります。 convert test.pdf test.jpg一番簡単な使い方は上の通り。手元の環境では特に jpg が残念な画質になりますが、そのあたりはオプションで（ある程度）補完が可能です。これをそのまま叩いてもいいのですが色々な配慮で Rmagick から実行するケースについて記載します。 テストは Mac を使い Ruby 2.0 で行いました。 準備 準備と言っても RMagick が正しくインストールされている環境であれば require 'RMagick' を書くだ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fspitfire-tree.hatenadiary.org%2Fentry%2F20150312%2F1426153090&quot; title=&quot;RMagick で PDF を jpg や png に変換する - happy lie, happy life&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>2015-03-12 18:38:10</published>
  <title>RMagick で PDF を jpg や png に変換する</title>
  <type>rich</type>
  <url>https://spitfire-tree.hatenadiary.org/entry/20150312/1426153090</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
