diff --git a/img/cinema-4k/screenshots-lcd/convert-cinema-4k-screenshots b/img/cinema-4k/screenshots-lcd/convert-cinema-4k-screenshots new file mode 100755 index 0000000..7dae00a --- /dev/null +++ b/img/cinema-4k/screenshots-lcd/convert-cinema-4k-screenshots @@ -0,0 +1,25 @@ +#!/bin/bash +# convert-cinema-4k-screenshots +# +# GPLv3+ +# Copyright (C) 2023, Jeff Moe +# +# Converts and crops a set of screenshot photos of +# the Blackmagic Cinema 4k LCD, taken with Canon. +# +# Requires packages: +# graphicsmagick graphicsmagick-imagemagick-compat + +rm tmp.jpg + +for i in cinema-4k-ss-*.jpg +do echo $i + convert \ + -geometry '1920>x1920>' \ + -chop 248x136 \ + -gravity SouthEast \ + -chop 332x148 \ + $i \ + tmp.jpg + mv tmp.jpg $i +done