  
  
  class Writer(Output):
      """ Images output writer using cv2 """
      def __init__(self, output_folder):
          super().__init__(output_folder)
          self.check_transparency_format()
          # Correct format namings for writing to byte stream
          self.format_dict = dict(jpg="JPEG", jp2="JPEG 2000", tif="TIFF")
          self.kwargs = self.get_save_kwargs()
  
 
</s> remove     def __init__(self, output_folder):
        super().__init__(output_folder)
 </s> add     def __init__(self, output_folder, **kwargs):
        super().__init__(output_folder, **kwargs) </s> remove     def __init__(self, output_folder, total_count, source_video):
        super().__init__(output_folder)
 </s> add     def __init__(self, output_folder, total_count, source_video, **kwargs):
        super().__init__(output_folder, **kwargs) </s> remove     def __init__(self, output_folder, total_count):
        super().__init__(output_folder)
 </s> add     def __init__(self, output_folder, total_count, **kwargs):
        super().__init__(output_folder, **kwargs) </s> remove         self.config = get_config(".".join(self.__module__.split(".")[-2:]))
 </s> add         self.config = get_config(".".join(self.__module__.split(".")[-2:]), configfile=configfile) </s> remove     def __init__(self, output_folder):
 </s> add     def __init__(self, output_folder, configfile=None):
    def __init__(self, output_folder, **kwargs):
        super().__init__(output_folder, **kwargs)
  
  
  class Writer(Output):
      """ Images output writer using cv2 """
    def __init__(self, output_folder, **kwargs):
        super().__init__(output_folder, **kwargs)
    def __init__(self, output_folder, **kwargs):
        super().__init__(output_folder, **kwargs)
          self.check_transparency_format()
          # Correct format namings for writing to byte stream
          self.format_dict = dict(jpg="JPEG", jp2="JPEG 2000", tif="TIFF")
          self.kwargs = self.get_save_kwargs()
  
keep keep keep keep replace replace keep keep keep keep keep
 Config Changes + Bugfixes

Bugfix: Fully disable keypress monitor for GUI
Bugfix: Preview - Handle missing alignments file
Config changes:
    - Separate plugin defaults into their own files
    - Move mask_type to global training config
    - Add ability to pass in custom config files 
plugins/convert/writer/pillow.py