Article 5R2G7 ascii art to pdf

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?latest?d=yIl2AUoC8zA latest?i=cWQAcBmCfJU:P6arWFy--Qw:F7zBnMy latest?i=cWQAcBmCfJU:P6arWFy--Qw:V_sGLiP latest?d=qj6IDK7rITs latest?i=cWQAcBmCfJU:P6arWFy--Qw:gIN9vFwcWQAcBmCfJU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments