Converts any image from RGB format to a format using twenty-four (w*h)-bit numbers. Requires PIL/Pillow