Static
printDirection = "left" rotates image for 90 degrees clockwise
Pixels encoded by encodeCanvas (byte is 8 pixels)
Array of indexes where every index stored in two bytes (big endian)
printDirection = "left" rotates image to 90 degrees clockwise
printDirection = "left" rotates image for 90 degrees clockwise