From d56f9cf54218598f55ef82970fcdf219e63ce900 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Fri, 9 Feb 2018 12:55:50 +1100 Subject: [PATCH] Add simple ImageMagick wrapper scripts for quickly munging Luma3DS screenshots into shareable form --- local/bin/luma-both-to-png | 3 +++ local/bin/luma-to-png | 2 ++ 2 files changed, 5 insertions(+) create mode 100755 local/bin/luma-both-to-png create mode 100755 local/bin/luma-to-png diff --git a/local/bin/luma-both-to-png b/local/bin/luma-both-to-png new file mode 100755 index 0000000..a6274f8 --- /dev/null +++ b/local/bin/luma-both-to-png @@ -0,0 +1,3 @@ +#!/bin/zsh +date=${1%_*.bmp} +magick ${date}_top.bmp ${date}_bot.bmp -alpha set -gravity Center -background 'rgba(0,0,0,0)' -append ${date}.png diff --git a/local/bin/luma-to-png b/local/bin/luma-to-png new file mode 100755 index 0000000..674fce1 --- /dev/null +++ b/local/bin/luma-to-png @@ -0,0 +1,2 @@ +#!/bin/zsh +magick $f -alpha set -fill 'rgba(0,0,0,0)' -draw 'color 0,0 point' $f:r.png