Closed letmaik closed 5 years ago
@kmilos Since you mentioned that you'd want this feature for rawpy, which operating system are you on? Currently I don't include any optional features for Windows, but you would get it on macOS/Linux.
Windows, actually... Is it possible to require JPEG and zlib at wheel build time?
OK, I see. It's not impossible, just takes a bit more fiddling than on macOS/Linux. I'll see what I can do.
@kmilos Looks like it's not an issue after all. I'd like you to try it before I do a new release. Which Python version are you using?
@letmaik Happy to give it a go, thanks. Using Anaconda packaged Python 3.7 built for win-64.
Download the file at https://ci.appveyor.com/api/buildjobs/eugv54s94k0ake6j/artifacts/dist%2Frawpy-0.14.0-cp37-cp37m-win_amd64.whl to some folder. Then do pip uninstall rawpy
and pip install rawpy-0.14.0-cp37-cp37m-win_amd64.whl
in the folder where you downloaded it.
Great, seems to be working, I can now finally read output of https://github.com/jcelaya/hdrmerge
Now I just have to make sure the float to uint16 conversion is happening correctly automagically by LibRaw. I guess having rawpy keep float would be quite intrusive...
Thanks for testing!
Regarding float, if there is anything from the libraw public API that would allow it, then it's a candidate for inclusion in rawpy.
This is merged to master now and will be part of the next rawpy release.
Branch
zlib
. Picked up from https://github.com/LibRaw/LibRaw-cmake/pull/6.