示例#1
0
 def contrast(self, value):
     mode, data = self.engine.image_data_as_rgb()
     imgdata = _contrast.apply(mode, value, data)
     self.engine.set_image_data(imgdata)
示例#2
0
 def contrast(self, value):
     mode, data = self.engine.image_data_as_rgb()
     imgdata = _contrast.apply(mode, value, data)
     self.engine.set_image_data(imgdata)
示例#3
0
 def contrast(self, value):
     imgdata = _contrast.apply(self.engine.get_image_mode(), value,
                               self.engine.get_image_data())
     self.engine.set_image_data(imgdata)
示例#4
0
 def contrast(self, value):
     imgdata = _contrast.apply(self.engine.get_image_mode(), value, self.engine.get_image_data())
     self.engine.set_image_data(imgdata)
示例#5
0
 def run_filter(self):
     imgdata = _contrast.apply(self.engine.get_image_mode(),
                               int(self.params['value']),
                               self.engine.get_image_data())
     self.engine.set_image_data(imgdata)
示例#6
0
 def run_filter(self):
     imgdata = _contrast.apply(self.engine.get_image_mode(), int(self.params['value']), self.engine.get_image_data())
     self.engine.set_image_data(imgdata)