Python 枕头:如何从原始文件中获取图像对象

Python 枕头:如何从原始文件中获取图像对象,python,python-3.x,python-imaging-library,pillow,Python,Python 3.x,Python Imaging Library,Pillow,如何将原始文件放入python库的图像对象中 当我尝试以下代码时: path = '/Users/me/Desktop/SonyRX100III_raw.ARW' img = Image.open(path) 我得到这个错误 OSError: cannot identify image file '/Users/me/Desktop/SonyRX100III_raw.ARW' 可能重复no,methode fromstring()已被弃用,而且在获取图像对象之前,我不关心照片的模式或大小

如何将原始文件放入python库的图像对象中

当我尝试以下代码时:

path = '/Users/me/Desktop/SonyRX100III_raw.ARW'
img = Image.open(path)
我得到这个错误

OSError: cannot identify image file '/Users/me/Desktop/SonyRX100III_raw.ARW'
可能重复no,methode fromstring()已被弃用,而且在获取图像对象之前,我不关心照片的模式或大小