Skip to content

Instantly share code, notes, and snippets.

@ymollard
Last active March 14, 2021 01:38
Show Gist options
  • Save ymollard/58a0dd877d9d7442871cb72610d02008 to your computer and use it in GitHub Desktop.
Save ymollard/58a0dd877d9d7442871cb72610d02008 to your computer and use it in GitHub Desktop.
Crop and blur Jitsi from 1920x1080 screen captures
#!/bin/bash
type convert || exit(1);
for i in Capture*png; do
convert "$i" \
-region 1600x800+300+200 -blur 0x9 \
"tmp-$i";
convert "tmp-$i" \
-crop 1920x930+0+120 \
"Jitsi-$i";
rm "tmp-$i";
done;
mkdir Jitsi && mv Jitsi-* Jitsi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment