letmaik / rawpy

📷 RAW image processing for Python, a wrapper for libraw
https://pypi.python.org/pypi/rawpy
MIT License
591 stars 67 forks source link

Unsupported file format (support added in libraw 0.19) #42

Closed LaTieCheng closed 6 years ago

LaTieCheng commented 6 years ago

Hi there, I am new to rawpy and I tried to import some raw image from IPX and HUAWEI mate 10, but rawpy dont seems to like it.

Traceback (most recent call last): File "", line 1, in File "/****/lib/python2.7/site-packages/rawpy/init.py", line 20, in imread d.open_file(pathOrFile) File "rawpy/_rawpy.pyx", line 266, in rawpy._rawpy.RawPy.open_file File "rawpy/_rawpy.pyx", line 662, in rawpy._rawpy.RawPy.handle_error rawpy._rawpy.LibRawNonFatalError: Unsupported file format or not RAW file

I did check Libraw and Iphone X and Mate 10 are in their supported list. So I am not sure what to do atm, please help.

Best,

LaTieCheng

letmaik commented 6 years ago

Those two cameras were added in libraw 0.19 which was released just three days ago. The binary wheels of rawpy bundle 0.18 currently. I'll do a new release asap. Thanks for reporting!

LaTieCheng commented 6 years ago

Np, thanks for the prompt reply!

letmaik commented 6 years ago

A new rawpy version is out. Should work now!