libTIFF support.
16bit TIFF
Avoid unnecessary image copy.
Fix smooth.