You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 4, 2020. It is now read-only.
This isn't really a bug (so apologies for putting it on your issue tracker), but I had a need for CFFI based bindings for libraw, so I put together libraw-cffi.
I haven't fully tried it, but I suspect that if you'd like to, rawkit's libraw could be replaced by it (and likely be faster/easier to maintain for both CPython and PyPy).
Hi! Props, rawkit seems nice.
This isn't really a bug (so apologies for putting it on your issue tracker), but I had a need for CFFI based bindings for libraw, so I put together libraw-cffi.
If you haven't used/seen CFFI before, it's really miles easier/less effort to use than ctypes (see e.g. how libraw-cffi basically just copy pastes libraw/libraw.h and then dynamically binds all the struct-using functions).
I haven't fully tried it, but I suspect that if you'd like to,
rawkit's libraw could be replaced by it (and likely be faster/easier to maintain for both CPython and PyPy).Here's e.g. a port of the
save_jpeg_to_pilexample fromrawkit.Wanted to post this to get your thoughts, so if nothing else you were aware :)
And thanks again for making rawkit!