rawpy is an easy-to-use Python wrapper for the LibRaw library. It also contains some extra functionality for finding and repairing hot/dead pixels. API Documentation Jupyter notebook tutorials Sample code Load a RAW file and save the postprocessed image using default parameters: import rawpy import imageio path = 'image.nef' with rawpy.imread(path) as raw: rgb = raw.postprocess() imageio.imsave('d
![rawpy · PyPI](https://cdn-ak-scissors.b.st-hatena.com/image/square/3ac04ce0305e3030bdd33bedf497bffb84a0bb3d/height=288;version=1;width=512/https%3A%2F%2Fpypi.org%2Fstatic%2Fimages%2Ftwitter.abaf4b19.webp)