<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>akishin999</author_name>
  <author_url>https://blog.hatena.ne.jp/akishin999/</author_url>
  <blog_title>akishin999の日記</blog_title>
  <blog_url>https://akishin.hatenablog.jp/</blog_url>
  <categories>
    <anon>ActionScript</anon>
    <anon>Rails</anon>
  </categories>
  <description>久しぶりに FlashDevelop をインストールして ActionScript で遊んでみました。 作ったのは簡単なペイントツールで、描いた絵をサーバ側の Rails で保存するというもの。 調べてみると ActionScript で画面をファイルとして保存するには BitmapData に画面の内容を描画して ByteArray に変換、その後そのバイト列をそのままサーバに送信してサーバ側でファイル保存、という流れでいいみたいですね。 サーバ側への送信前に BitmapData を JPEG 形式にエンコードするために、以下のライブラリに含まれている JPGEncoder クラスを使用し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakishin.hatenablog.jp%2Fentry%2F20090720%2F1248066277&quot; title=&quot; Flash の画面をキャプチャして Rails で保存する - akishin999の日記&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>2009-07-20 14:04:37</published>
  <title> Flash の画面をキャプチャして Rails で保存する</title>
  <type>rich</type>
  <url>https://akishin.hatenablog.jp/entry/20090720/1248066277</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
