I like to be able to save the output of a shell command as a PNG image without losing the formatting. Kind of like taking a screenshot of the output.
some-command-with-color | text-to-png a.png
I know this command converts text to PNG, but it doesn’t preserve color:
tldr -c tldr | convert -page 4000x4000 -font FreeMono -pointsize 20 -background white -trim +repage -bordercolor white -border 15 text:- png:a.png