<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>geiinbashoku2</author_name>
  <author_url>https://blog.hatena.ne.jp/geiinbashoku2/</author_url>
  <blog_title>鯨飲馬食コード</blog_title>
  <blog_url>https://geiinbashoku2.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>Rubyで簡単な画像を作る機会があったのでそのときのメモ。CとかJavaでのPPMファイルの作り方のドキュメントはウェブ上にたくさんあるのでそちらも参考に。PPMについては「http://en.wikipedia.org/wiki/Portable_pixmap」を参照。気づかなかったけど、Windowsでは標準でPPMを開くことはできないみたい。PPMファイルには以下のようにP1からP6まであるようだ。というか、PPMと呼ぶのはカラーのP3とP6で、P1とP4はPBM、P2とP5はPGMと呼ぶ方が正しいのかもしれない。 P1 白黒2値・アスキー P2 モノクロ・アスキー P3 RGBカラー・…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgeiinbashoku2.hatenadiary.org%2Fentry%2F20090215%2Fppm&quot; title=&quot;RubyでPPM出力のメモ - 鯨飲馬食コード&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://cdn-ak.d.st-hatena.com/diary/geiinbashoku2/2009-02-15.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-02-15 00:00:00</published>
  <title>RubyでPPM出力のメモ</title>
  <type>rich</type>
  <url>https://geiinbashoku2.hatenadiary.org/entry/20090215/ppm</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
