uint32 images need to round with uint32 cast, not int cast