feat(fits): add fits image read support#442
Conversation
|
Oh wow, that was fast. Thanks a bunch! On a quick test, I have to enable (Alternatively, we could fork cfitsio and implement Windows-native mutexes behind some ifdefs. On a quick |
|
Ah, yes, I should have remembered that cfitsio maintains a pile of global state. I did stress test loading using a couple folders full of images, but it seems I just got lucky. It's a relatively small change to give In any case, I'll leave it to you to decide which is the lesser evil: forking |
|
Nice, C11 threads are even better! Since you already got them working, let's just go with the fork. That'll also let us get rid of the Half of tev's dependencies already are forks because of various CMake idiosyncrasies (and in some cases similar fixups like the pthreads one here), so no harm maintaining another -- especially with such a small patch on top of upstream. Heck, tev's linux HDR support is a huge divergence from upstream GLFW. 😅 |
04d6075 to
f37a9f1
Compare
|
I've updated the MR to use a fork of You'll obviously want your own cfitsio fork if this lands. I'll see if the cfitsio project is interested in cmake or C11 threads MRs, but I suspect that's a long shot. |
f37a9f1 to
44ece7e
Compare
44ece7e to
831f5e9
Compare
|
Thank you again -- and sorry for this whole thing having dragged on for as long as it has. Really appreciate the contribution! |
|
No problem, good to get it done in a way that best serves the project. |
No description provided.