compile with:
gcc main.c libspell.a

if you have zig, you can make a static binary with:
zig build-exe main.c libspell.a -Dtarget=x86_64-linux-musl -lc -static

use:
./a.out 256 < input.png > thumbnail.jpg
