Skip to content

Commit

Permalink
dcraw mode changes
Browse files Browse the repository at this point in the history
Updated the modes dcraw uses. This fixes the bug issued by lgsteele which fiddles with the output image brightness.
  • Loading branch information
eaydin committed Sep 11, 2014
1 parent 646f622 commit c28bd6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cr2fits.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def __str__(self):
print("Reading file %s...") % cr2FileName
try :
#Converting the CR2 to PPM
p = subprocess.Popen(["dcraw","-6",cr2FileName]).communicate()[0]
p = subprocess.Popen(["dcraw","-6","-j","-W",cr2FileName]).communicate()[0]

#Getting the EXIF of CR2 with dcraw
p = subprocess.Popen(["dcraw","-i","-v",cr2FileName],stdout=subprocess.PIPE)
Expand Down

0 comments on commit c28bd6d

Please sign in to comment.