Perl script to convert an image for use as a grayscale bitmap on a GROVE 96x96 OLED screen