process images in 16-bit