Convert an arbitrary input image into a black and white
dithered image (using the Floyd-Steinberg dithering algorithm
with auto thresholding) suitable for display on the lcd
panel.
Get the coordinate of a point (on this line), with 0
corresponding to the point on the line that is perpendicular to
a line passing through the origin and the line.
Render the current display into an image of width and height,
zooming in as much as possible while displaying an area at
least as large as is currently displayed.