[BUG #7710] deal with floating point pixel values