aerothemeplasma/kwin/effects_cpp/kwin-effect-smodsnap-v2/animation/render-animation.sh

7 lines
278 B
Bash
Raw Permalink Normal View History

2024-08-09 01:20:25 +00:00
#!/bin/bash
inkscape animation.svg -o animation.png
convert animation.png -crop 8x8@ frame%d.png
for ((i=63;i>=0;i--)); do mv frame$i.png frame$((i + 1)).png; done
for ((i=9;i<=64;i++)); do rm frame$i.png; done
rcc --binary -o snapeffecttextures.smod.rcc snapeffecttextures.qrc