Added support for standard 16-bit images.