<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kayactech</author_name>
  <author_url>https://blog.hatena.ne.jp/kayactech/</author_url>
  <blog_title>KAYAC Engineers' Blog</blog_title>
  <blog_url>https://techblog.kayac.com/</blog_url>
  <categories>
    <anon>php</anon>
    <anon>symfony</anon>
  </categories>
  <description>短辺指定の正方形でトリミング、リサイズを行いたい場合の処理 例: 200x280の画像を200x200にトリミング後、150x150にリサイズ $thumbnail = new sfThumbnail(150, 150, false, true, 75, 'sfImageMagickAdapter', array('method' =&gt; 'shave_bottom')); $thumbnail-&gt;loadFile('from.png'); // 200x280 $thumbnail-&gt;save('to.png', 'image/png'); ※発行されるコマンド: convert -crop …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftechblog.kayac.com%2Fsymfony-plugin-sfthumbnail_shave_bottom.html&quot; title=&quot;sfThumbnailメモ - KAYAC Engineers&amp;#39; Blog&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>2008-07-07 12:00:00</published>
  <title>sfThumbnailメモ</title>
  <type>rich</type>
  <url>https://techblog.kayac.com/symfony-plugin-sfthumbnail_shave_bottom.html</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
