There's gotta be a better way to preprocess images.