Little tweak to old software

I always used enfuse through a digiKam plugin (which works fine btw) and I only recently discovered Macrofusion, a neat little GUI around enfuse. I like its fast preview but disliked the fact it only generates 8-bit tiff output.

Turns out a little tweak sets that right. Change:

def get_options(self):
    options=["--exposure-weight=" + str(self.spinbuttonexp.get_value()), 
             "--exposure-optimum=" + str(self.spinbuttonmu.get_value()), 
             "--exposure-width=" + str(self.spinbuttonsigma.get_value()),
             "--saturation-weight=" + str(self.spinbuttonsat.get_value()),
             "--contrast-weight=" + str(self.spinbuttoncont.get_value())] 

Into:

def get_options(self):
    options=["--exposure-weight=" + str(self.spinbuttonexp.get_value()), 
             "--exposure-optimum=" + str(self.spinbuttonmu.get_value()), 
             "--exposure-width=" + str(self.spinbuttonsigma.get_value()),
             "--saturation-weight=" + str(self.spinbuttonsat.get_value()),
             "--contrast-weight=" + str(self.spinbuttoncont.get_value()),
             "--depth=16"]
3 Likes