                      logger.error("Failed to convert image: '%s'. Reason: %s",
                                   item["filename"], str(err))
                      image = item["image"]
                      # UNCOMMENT THIS CODE BLOCK TO PRINT TRACEBACK ERRORS
                      # import sys ; import traceback
                      # exc_info = sys.exc_info() ; traceback.print_exception(*exc_info)
                  logger.trace("Out queue put: %s", item["filename"])
                  out_queue.put((item["filename"], image))
          logger.debug("Completed convert process")
 
</s> remove         mask, raw_mask = self._adjustments["mask"].run(detected_face, crop_offset, predicted_mask)
 </s> add         mask, raw_mask = self._adjustments["mask"].run(detected_face, crop_offset, mask_centering,
                                                       predicted_mask=predicted_mask)
                    logger.trace("Convert error traceback:", exc_info=True)
                      logger.error("Failed to convert image: '%s'. Reason: %s",
                                   item["filename"], str(err))
                      image = item["image"]
                    logger.trace("Convert error traceback:", exc_info=True)
                      # UNCOMMENT THIS CODE BLOCK TO PRINT TRACEBACK ERRORS
                      # import sys ; import traceback
                      # exc_info = sys.exc_info() ; traceback.print_exception(*exc_info)
                  logger.trace("Out queue put: %s", item["filename"])
                  out_queue.put((item["filename"], image))
          logger.debug("Completed convert process")
keep keep add keep keep keep keep keep keep
 bugfix: lib.convert - Correctly pass mask centering to mask plugin 
lib/convert.py