Tidy RLE
  • Replaces enhanced RLE characters with o's and b's
  • Removes trailing b's from rows
  • Compresses repeating characters (e.g. 3ooo2o becomes 7o)
  • Assures each line is ≤70 characters but as close to 70 as
    possible and does not end in a number
  • Calculates bounding box
  • Performs any of the following selected transformations:
flip horizontal
flip vertical
rotate 90° clockwise
rotate 180° clockwise
rotate 270° clockwise
no rotation
Input:
Result: