Images: Add backend for caca

This commit is contained in:
Dylan Araps 2017-01-14 15:43:34 +11:00
parent 5ade44b9b3
commit 06acbacb74
1 changed files with 6 additions and 0 deletions

View File

@ -2380,6 +2380,12 @@ display_image() {
text_padding="$((columns / 2 + gap))"
zws=
;;
"caca")
img2txt -W "$((width / font_width))" -H "$((height / font_height))" --gamma=0.6 "$image" || to_off "Images: catimg failed to display the image."
text_padding="$((columns / 2 + gap))"
zws=
;;
esac
}