image downsample and reduce depth to 4-bit