<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Koze</author_name>
  <author_url>https://blog.hatena.ne.jp/Koze/</author_url>
  <blog_title>ObjecTips</blog_title>
  <blog_url>https://koze.hatenablog.jp/</blog_url>
  <categories>
    <anon>Tips</anon>
    <anon>UIGraphicsImageRenderer</anon>
    <anon>UIImageView</anon>
    <anon>UIImage</anon>
    <anon>UIGraphicsBeginImageContext</anon>
    <anon>画像</anon>
    <anon>パフォーマンス</anon>
  </categories>
  <description>WWDCのメモリのセッションを見ていたら思わぬTipsについて言及されていた。 WWDC 2018 iOS Memory Deep Dive の20分57秒あたり https://developer.apple.com/videos/play/wwdc2018/416 UIGraphicsBeginImageContextWithOptions を使うのはやめて UIGraphicsImageRenderer を使えという話題。 UIGraphicsImageRenderer は最適なグラフィックフォーマットを自動で選択してくれる。 マスク画像の様な単色の画像を描画する場合に UIGraphi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkoze.hatenablog.jp%2Fentry%2F2020%2F03%2F02%2F090000&quot; title=&quot;UIGraphicsBeginImageContextWithOptions をやめて UIGraphicsImageRenderer を使うメリット - ObjecTips&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>2020-03-02 09:00:00</published>
  <title>UIGraphicsBeginImageContextWithOptions をやめて UIGraphicsImageRenderer を使うメリット</title>
  <type>rich</type>
  <url>https://koze.hatenablog.jp/entry/2020/03/02/090000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
