Closed lepapareil closed 2 years ago
Hey @lepapareil
ascii-image-converter checks for console dimensions (width and height) before creating an appropriately sized ascii art. Given your error log, this might be the problem. I'm assuming this fails because you're executing the command on a remote VM through gitlab runner, instead of doing it manually through a console with dimensions.
There is a library-only option to prevent terminal size checking if dimensions are specified, but I can also make it a CLI flag if you want it as a feature request.
hello, i was just about to open an issue asking for a flag to remove dimension restrictions, i would love such an option. also can you give an option to omit output in the terminal and only save externally? it looks cool but its unnecessary for me as i use your program for batch converting image sequences.
@junguler Sounds like a good idea. Will implement this asap.
Hi @TheZoraiz,
I have adjusted the dimensions and ...
$ ascii-image-converter --dimensions 1,1 ./logo.png
Error: set width must be lower than terminal width
So I totally agree with your proposal to add preventing terminal size checking flag.
I think that it would be also great if we were able to prevent terminal size checking naturally
when:
--dimensions
or --width and --height
flags are setted ?@lepapareil That actually sounds like a cleaner solution. Thanks for the input!
@TheZoraiz thank you, looking forward to it.
Just released v1.11.0
(snap version might take a while)
@junguler You should be able to save file in batches without printing if you supply the --only-save
flag
@lepapareil It should work if you supply any one of --dimensions
, --width
or --height
. Although, default usage or using --full
will result in an error without terminal.
Let me know if it works on your end.
@TheZoraiz it works great, thanks, i'm in a process to write a tutorial markdown file for your program and this helps alot, i'll make sure to tag you with it when it's ready.
@lepapareil It should work if you supply any one of
--dimensions
,--width
or--height
. Although, default usage or using--full
will result in an error without terminal. Let me know if it works on your end.
It works like a charm ❤️ thks for your work !
Glad to help :)
@TheZoraiz here it is as promised, thanks again for this great program of yours https://github.com/junguler/_image-manipulation/tree/main/Ascii-image-converter
@junguler Looks neat!
@TheZoraiz thank you <3
Hi :)
Depending on which env i run it, it can result on:
In this example, i launch it on a docker ubuntu 18 running inside a linux gitlab runner. Any idea ?