Fixed minor bug in imager.

PIL requires ints not floats!