StaticencodedEncodes a canvas as the largest quality the realm will keep.
the canvas
what the realm keeps
the data: URL, or '' when none fits
StaticsquaredDraws an image's centred square onto a canvas of at most LARGEST_SIDE.
the document
the loaded image
the canvas
StaticwireWires the photo card, where the page carries one.
the document
the window, for FileReader and Image
the translator
The photo card's behaviour. A static utility class.