<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>numb_86</author_name>
  <author_url>https://blog.hatena.ne.jp/numb_86/</author_url>
  <blog_title>30歳からのプログラミング</blog_title>
  <blog_url>https://numb86-tech.hatenablog.com/</blog_url>
  <categories>
    <anon>制作記録</anon>
  </categories>
  <description>縦横サイズかバイト数、あるいはその両方を指定できる。 画像を操作するプログラムを書いていて、その検証用の画像を簡単に用意できるようにしたい、というのが作った動機。 既に似たようなツールは存在するのかもしれないが、勉強になりそうだから自分で作った。 Canvasで画像を作成し、それをBufferオブジェクトに変換。そのオブジェクトの末尾に無意味なデータを追加していきバイト数を調整している。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnumb86-tech.hatenablog.com%2Fentry%2F2017%2F10%2F15%2F112736&quot; title=&quot;Node.jsで任意のサイズの画像を生成するスクリプトを書いた - 30歳からのプログラミング&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>2017-10-15 11:27:36</published>
  <title>Node.jsで任意のサイズの画像を生成するスクリプトを書いた</title>
  <type>rich</type>
  <url>https://numb86-tech.hatenablog.com/entry/2017/10/15/112736</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
