Removing surplus padding from example images