Is this really true? If you e.g. pass an image with dtype=np.int16?