add check for .spr extension in save_to_file function
implement support for image files to be converted to sprites, closes #41, needs testing on a raspberry pi