rawkit
(pronounced rocket) is a ctypes-based LibRaw binding for Python inspired by the Wand API.
python
from rawkit.raw import Raw from rawkit.options import WhiteBalance
- with Raw(filename='some/raw/image.CR2') as raw:
raw.options.white_balance = WhiteBalance(camera=False, auto=True) raw.save(filename='some/destination/image.ppm')
for more info, see the docs