round imageSize to integer