Fixed width of ANSI-art pixels. We should scale the image prior to conversion, to fix the aspect ratio.
This commit is contained in:
parent
3560163759
commit
9db77cfb69
|
@ -28,7 +28,6 @@ done
|
|||
| sed -n -r -e 's/^[0-9a-f]* (([0-9a-f]{2} ){8}) (([0-9a-f]{2} ){7}[0-9a-f]{2}).*$/\1\3/p' \
|
||||
| tr '\n' ' ' \
|
||||
| fold -w $((width*3)) \
|
||||
| sed -r -e 's/([01])([0-7]) /[\1;3\2m██/g' \
|
||||
| sed -e 's/ //g'
|
||||
| sed -r -e 's/([01])([0-7]) /[\1;3\2m█/g'
|
||||
|
||||
echo
|
||||
|
|
Loading…
Reference in New Issue
Block a user