<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lxyuma</author_name>
  <author_url>https://blog.hatena.ne.jp/lxyuma/</author_url>
  <blog_title>lxyuma BLOG</blog_title>
  <blog_url>https://lxyuma.hatenablog.com/</blog_url>
  <categories>
    <anon>ruby</anon>
    <anon>画像処理</anon>
  </categories>
  <description>やりたい事 元々、iphoneのsafariで、写真uploadできる機能を作りたかった。 ※ちなみに、iOS6からsafariでも画像up可 upする時に、jpegに入ってる重力の方向を元に自動で画像を回転して保存したい。 概要 この記事では以下の話を書いて行く。 jpegのexif情報について説明 ImageMagickの画像変換処理(auto_orient)で楽する iOSのsafariの特殊な動作 ※ImageMagickのruby用のクライアントRmagick使うが、他言語も殆ど同じなんじゃないかと jpegのexif 画像ファイルのフォーマットとして、exif(Exchangeab…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flxyuma.hatenablog.com%2Fentry%2F2013%2F12%2F07%2F095742&quot; title=&quot;ImageMagickでjpegの縦横(exifのOrientation)情報を元に画像を回転する - lxyuma 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>2013-12-07 09:57:42</published>
  <title>ImageMagickでjpegの縦横(exifのOrientation)情報を元に画像を回転する</title>
  <type>rich</type>
  <url>https://lxyuma.hatenablog.com/entry/2013/12/07/095742</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
