After receiving feedback from a few people (thanks!), I’ve updated two of the scripts posted here previously.
This had a problem where a division by zero error would occur if the specified image file wasn’t fully qualified. Fixed script is here: convert-image2text.ps1.
I’ve fixed the colours to match those actually used by the console (ie dark yellow is white and darkmagenta is blue) and fixed a css error. Fixed script is here: get-bufferhtml.ps1.