/rawkit

ctypes based libraw bindings

Primary LanguagePythonMIT LicenseMIT

rawkit

Package Status Docs Status Build Status Test Coverage Status

rawkit (pronounced rocket) is a ctypes-based LibRaw binding for Python inspired by the Wand API.

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