[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

最近ブログで写真をたくさん使うので書いた。

#!/usr/bin/env ruby

dir = ARGV[0]

Dir.chdir(dir) do
  system "mogrify -format jpg *.HEIC"
  system "rm -f *.HEIC"
  system "mogrify -path '#{dir}' -resize 1920x1920 -quality 90 -auto-level -normalize '#{dir}/*'"
end

bin/resize_blog_pictures at main · komagata/bin

Comments


Option