ImageFile.asint

ImageFile.asint(dtype=<class 'numpy.uint16'>)

Convert the image to unsigned integer format.

May raise warnings about loss of precision.