Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

photoshell/rawkit

Repository files navigation

rawkit

Package Status Docs Status Build Status Test Coverage Status No Maintenance Intended

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