def _save_image(self, img):
    if img:
        outputName = _get_filename(self.currImage)
        outputLoc = (((self.outputDir + '/') + outputName[:outputName.rfind('.')]) + '_cropped')
        img.save((outputLoc + '.png'), 'png')
def _save_image(self, img):
    if img:
        outputName = _get_filename(self.currImage)
        outputLoc = (((self.outputDir + '/') + outputName[:outputName.rfind('.')]) + '_cropped')
        img.save((outputLoc + '.png'), 'png')