<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>anthrgrnwrld</author_name>
  <author_url>https://blog.hatena.ne.jp/anthrgrnwrld/</author_url>
  <blog_title>MILLEN BOX</blog_title>
  <blog_url>https://anthrgrnwrld.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>以前、UIImageから一部を切り取る方法について本ブログにて書かせて頂きました。 anthrgrnwrld.hatenablog.com ザクッと方法を説明しますと、targetとなるUIImageをCGImageへ変換し、そのCGImageと切り取るrectを指定し、 CGImageCreateWithImageInRect を使用して切り取りを実行しています。 この度、UIImageを切り取りたい事案があり、ここで書いた方法で実行しましたが、想定した切り取り位置でimageが切り取られない現象が発生しました。 何で？と思いデバッグしてみたところ、「ん〜？どうやら指定した座標、長さの1/2…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanthrgrnwrld.hatenablog.com%2Fentry%2F2016%2F08%2F05%2F124314&quot; title=&quot;UIImageとCGImageの違いでハマったこと [pixel] [point] [swift2.2] - MILLEN BOX&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>2016-08-05 12:43:14</published>
  <title>UIImageとCGImageの違いでハマったこと [pixel] [point] [swift2.2]</title>
  <type>rich</type>
  <url>https://anthrgrnwrld.hatenablog.com/entry/2016/08/05/124314</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
