def store(self, name):
    name = ((((img_out_dir + '/') + name) + '.') + img_form)
    print(('Saving image: ' + name))
    im = Image.fromarray(self.binary_image)
    im.save(name)
def store(self, name):
    name = ((((img_out_dir + '/') + name) + '.') + img_form)
    print(('Saving image: ' + name))
    im = Image.fromarray(self.binary_image)
    im.save(name)