ASCII LAB

Fit ASCII art to a fixed width

The width slider controls the number of character columns. Choose it for the place the drawing will be viewed, then adjust contrast to keep the subject legible.

Available space: 44 columns
Indent: 4 columns
Art width: 36 columns, leaving 4 columns to spare

Three steps

  1. Paste a row of test characters in the destination and count how many fit without wrapping.
  2. Set the converter width below that count, leaving room for any indent.
  3. Check the silhouette and tune contrast, then paste the result into the destination to confirm it fits.

Budget for the narrowest view

A desktop terminal and a narrow chat window can display very different column counts. Check the smallest view people will use. A block that starts after a four space indent loses four columns before the art begins.

Use contrast to restore a boundary

After lowering the width, look for the areas where the subject blends into the background. Increase contrast a little at a time. If facial features or interior contours merge, back off and crop closer to the subject.

Check the copy in its final context

Paste the actual text into a fixed width block, since font size and message layout affect wrapping. When the intended view cannot fit a legible grid, export an image and let it scale with the page.

Questions

Does the width setting choose a PNG size?

It chooses the number of character columns. PNG pixel dimensions also depend on the rows and the export renderer.

Language