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

Commit

Permalink
Set the tiff export option properly
Browse files Browse the repository at this point in the history
Fixes #95
  • Loading branch information
SamWhited committed Aug 16, 2015
1 parent f63c508 commit 4214be6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rawkit/raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ def save(self, filename=None, filetype=output_file_types.ppm):
if filetype not in output_file_types:
raise InvalidFileType(
"Output filetype must be in raw.output_file_types")
self.data.contents.params.output_tiff = filetype
self.data.contents.params.output_tiff = (
filetype == output_file_types.tiff
)

self.unpack()
self.process()
Expand Down

0 comments on commit 4214be6

Please sign in to comment.