Done by Nico D. in Perl.
Image must first be processed in Gimp to resize it to 80 (78 exactly) pixel width, colour converted to 1 bit black&white, floyd-steinberg (normal).
It seems that to have a correct aspect ratio at the destination you should multiply the original height by 1.25
use GD;
# Image must first be processed in Gimp to resize it to 80 (78 exactly) pixel width
# Then convert (image mode) to 1 bit black&white, floyd-steinberg (normal).
# It seems that to have a correct aspect ratio at the destination you should multiply the original height by 1.25
# output file: