<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kureduki_Maari</author_name>
  <author_url>https://blog.hatena.ne.jp/Kureduki_Maari/</author_url>
  <blog_title>c4se記：さっちゃんですよ☆</blog_title>
  <blog_url>https://c4se.hatenablog.com/</blog_url>
  <categories>
    <anon>Programming</anon>
    <anon>Ruby</anon>
    <anon>Git</anon>
  </categories>
  <description>画像の圧縮自体はImageOptimと云ふプログラムをコマンドで呼んでゐる丈だ。お終い。 HomebrewではCaskroom/cask/imageoptimに在る。そこでGitの話に成る。 利用シーンはご想像にお任せするが、gitでpullした後に、其のpullで更新されたPNGファイルをlosslessで最適化する。最適化するコードだけ抜き出すと以下に成る。 #!/usr/bin/env ruby require 'shellwords' targets = ... system &quot;ImageOptim #{Shellwords.shelljoin(targets)}&quot; targetsに指…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fc4se.hatenablog.com%2Fentry%2F2016%2F05%2F13%2F202427&quot; title=&quot;OSXでGitの罠を回避しつつ更新されたPNGを圧縮するスクリプト - c4se記：さっちゃんですよ☆&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-05-13 20:24:27</published>
  <title>OSXでGitの罠を回避しつつ更新されたPNGを圧縮するスクリプト</title>
  <type>rich</type>
  <url>https://c4se.hatenablog.com/entry/2016/05/13/202427</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
