Add simple ImageMagick wrapper scripts for quickly munging Luma3DS screenshots into shareable form

This commit is contained in:
Danielle McLean 2018-02-09 12:55:50 +11:00
parent cdd3e5fc11
commit d56f9cf542
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
2 changed files with 5 additions and 0 deletions

3
local/bin/luma-both-to-png Executable file
View file

@ -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

2
local/bin/luma-to-png Executable file
View file

@ -0,0 +1,2 @@
#!/bin/zsh
magick $f -alpha set -fill 'rgba(0,0,0,0)' -draw 'color 0,0 point' $f:r.png