xmake -v && xmake install -o ~/.local/stow/cover_gen
stow -d$_/.. -v2 -S cover_gen
(make sure your compiler supports modules!)
cover_gen IMAGE OUTPUT_WIDTH OUTPUT_HEIGHT > TARGET_FILE
it will generate a lua module contains the following items:
text
hl
pass them to your alpha
.