<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mattintosh4</author_name>
  <author_url>https://blog.hatena.ne.jp/mattintosh4/</author_url>
  <blog_title>mattintosh note</blog_title>
  <blog_url>https://mattintosh-note.jp/</blog_url>
  <categories>
    <anon>ShellScript</anon>
    <anon>ImageMagick</anon>
  </categories>
  <description>以前、フォント見本を出力するのに ImageMagick を使ってテキストを画像に変換したんだけどその方法を残してなくてちょっと忘れたのでメモしておく。 テキスト変換も色々オプションが多いのだけど端的に書くと以下のコマンドで任意のテキストを画像にすることができる。 convert label:'ImageMagick' out.gif オプションを変更すれば前景色や背景色の変更、フォントやフォントサイズの変更ができる。 せっかくなので convert --help の出力を画像にしたものを貼り付けておく（クッソ長いけど）。ターミナルで色々試しながら実行するときは色などを変数に入れておくと楽かも…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmattintosh-note.jp%2Fentry%2F20151128%2F1448720446&quot; title=&quot;ImageMagick を使ってテキストデータを画像に変換する - mattintosh note&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://lh3.googleusercontent.com/-uDYLMUOszew/Vlm1h7ryrqI/AAAAAAAANJQ/wSxOijo5Ej4/d-Ic42/2015-11-28.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-11-28 23:20:46</published>
  <title>ImageMagick を使ってテキストデータを画像に変換する</title>
  <type>rich</type>
  <url>https://mattintosh-note.jp/entry/20151128/1448720446</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
