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

Commit

Permalink
Merge pull request #60 from SamWhited/use_camera_color_matrix_by_default
Browse files Browse the repository at this point in the history
Use the camera color matrix by default
  • Loading branch information
SamWhited committed Jun 7, 2015
2 parents e2530c7 + 3367b05 commit eb6520f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions rawkit/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,17 +342,20 @@ def white_balance(self, params):
def use_camera_matrix(self):
"""
Use the color matrix from the raw's metadata. Only affects Olympus,
Leaf, and Phase One cameras (and DNG files). Default is True if the
photo is in DNG format or the camera white balance is being used, False
otherwise.
Leaf, and Phase One cameras (and DNG files).
Note that we differ from the LibRaw defaults on this option. LibRaw
defaults to true if the photo is in DNG format or the camera white
balance is being used, and false otherwise. rawkit always defaults to
true.
:type: :class:`boolean`
:default: 0
:default: True
:dcraw: ``+M``
``-M``
:libraw: :class:`libraw.libraw_output_params_t.use_camera_matrix`
"""
return None
return True

@option(param='shot_select', ctype=ctypes.c_uint)
def shot(self):
Expand Down

0 comments on commit eb6520f

Please sign in to comment.