<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>katsube</author_name>
  <author_url>https://blog.hatena.ne.jp/katsube/</author_url>
  <blog_title>ねこの足跡R</blog_title>
  <blog_url>https://blog.katsubemakito.net/</blog_url>
  <categories>
    <anon>HTML5</anon>
    <anon>PHP</anon>
    <anon>JavaScript</anon>
    <anon>canvas</anon>
    <anon>base64</anon>
    <anon>DataURISchema</anon>
    <anon>FetchAPI</anon>
    <anon>toDataURL()</anon>
  </categories>
  <description>Canvasに描画した内容を画像としてサーバへ送信し、そのままサーバに保存してみます。 今回は入力したテキストがそのままCanvasに描画される簡単なサンプルを用意しました。文字色と背景色もおまけで変更できます。もう少し頑張るとバナー画像ジェネレーターとか作れそうですね。 サーバ側のプログラムはPHPを採用していますが、他の言語でも似たような処理になります。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.katsubemakito.net%2Fhtml5%2Fcanvas-sendserver&quot; title=&quot; [HTML5] Canvasを画像に変換しサーバへ送信する - ねこの足跡R&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.f.st-hatena.com/images/fotolife/k/katsube/20231125/20231125045644.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-02-27 00:40:02</published>
  <title> [HTML5] Canvasを画像に変換しサーバへ送信する</title>
  <type>rich</type>
  <url>https://blog.katsubemakito.net/html5/canvas-sendserver</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
