Expand description

Overview

A crate that allows you to convert an image to a string that can be displayed in a Space Engineers LCD panel.

Check out the crates.io Readme for a complete tutorial.

Modules

Constants

  • How many lines are in one square panel. Keep in mind there’s only 177 newlines (\n), because the last line doesn’t have a \n.
  • How many pixels are on one line of a square panel. The character number is actually 178 * 3 = 534, because each color character is counted as three because it has the three RGB values.

Functions

  • Converts an image to a string composed of characters that can be displayed in a configured LCD panel. The image will be resized in order to fit an LCD panel.
  • Resizes the image so that it can be converted.