created some image preprocessing to eradicate whitespace a bit