ascii art to pdf
by b1bb2 from LinuxQuestions.org on (#5R2G7)
I have debian 11.0.0 (bullseye).
These two commands create ascii art file.
jp2a --output=jp2aout.txt imagein.jpeg;
asciiart imagein.jpeg > asciiartout.txt;
But I found that text format is not easily portable, diffrent people use diffrent text programs.
One solution is this command.
ansilove -o asciiart.PNG asciiartout.txt;
Are there other solutions? How to convert text to pdf?
Here are some packages I tried: abiword, calligrawords, simplyhtml, wordgrinder, wordgrinder-ncurses, golang-github-jung-kurt-gofpdf-dev, htmldoc, linuxdoc-tools-latex; page-crunch, pdfproctools, php-dompdf, pod2pdf, qpdf.
Sometimes the program breaks the text into pages.
On a minor side note, ansilove says File asciiartout.txt does not have a SAUCE record. I found documentation showing how to manually create a SAUCE record. Is there an automatic way? And does anyone even use it?
These two commands create ascii art file.
jp2a --output=jp2aout.txt imagein.jpeg;
asciiart imagein.jpeg > asciiartout.txt;
But I found that text format is not easily portable, diffrent people use diffrent text programs.
One solution is this command.
ansilove -o asciiart.PNG asciiartout.txt;
Are there other solutions? How to convert text to pdf?
Here are some packages I tried: abiword, calligrawords, simplyhtml, wordgrinder, wordgrinder-ncurses, golang-github-jung-kurt-gofpdf-dev, htmldoc, linuxdoc-tools-latex; page-crunch, pdfproctools, php-dompdf, pod2pdf, qpdf.
Sometimes the program breaks the text into pages.
On a minor side note, ansilove says File asciiartout.txt does not have a SAUCE record. I found documentation showing how to manually create a SAUCE record. Is there an automatic way? And does anyone even use it?