diff --git a/default/bash/functions b/default/bash/functions index 670c77db..538f607f 100644 --- a/default/bash/functions +++ b/default/bash/functions @@ -50,3 +50,8 @@ transcode-video-4K() { transcode-png2jpg() { magick $1 -quality 95 -strip ${1%.*}.jpg } + +# Transcode PNG to JPG image that's great for sharing online without being too big +transcode-png2jpg-1080() { + magick $1 -resize 1080x\> -quality 95 -strip ${1%.*}.jpg +}