letmaik / rawpy

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

Can I accelerate the postprocess? #174

Closed gravitychen closed 2 years ago

gravitychen commented 2 years ago

I wonder if I can use GPU or parallel computing to accelerate the raw.postprocess()

Thank you in advance.

letmaik commented 2 years ago

GPU processing would have to be supported by libraw which is what rawpy is built on. I doubt it's going to happen anytime soon.

Parallel processing you might get with Python's ProcessPoolExecutor (can't use threads as you would be limited by Python's GIL).