      """ Class to hold the alignment data """
  
      def __init__(self, alignments_file, destination_format, verbose):
          print("\n[ALIGNMENT DATA]")  # Tidy up cli output
          self.file = alignments_file
          self.verbose = verbose
  
          self.check_file_exists()
          self.src_format = self.get_source_format()
          self.dst_format = self.get_destination_format(destination_format)
  
          if self.src_format == "dfl":
              self.set_destination_serializer()
              return
  
          self.serializer = Serializer.get_serializer_from_ext(
              self.src_format)
          self.alignments = self.load()
 
</s> remove class AlignmentData():
 </s> add class AlignmentData(Alignments): </s> remove 
        self.serializer = Serializer.get_serializer_from_ext(
            self.src_format)
        self.alignments = self.load()
        self.count = len(self.alignments)

        self.set_destination_serializer()
 </s> add         super().__init__(folder, filename=filename, verbose=verbose)
        self.set_destination_format(destination_format) </s> remove         if self.alignments.src_format == "dfl":
 </s> add         if self.alignments.file == "dfl": </s> remove         iterator = self.alignments.get_alignments_one_image
 </s> add         iterator = self.alignments.yield_faces </s> remove         if self.alignments.src_format == "dfl":
            self.alignments.alignments = self.load_dfl()
            self.alignments.file = os.path.join(self.faces.folder,
                                                "alignments.json")
        self.alignments.save_alignments()
 </s> add         if self.alignments.file == "dfl":
            self.alignments.data = self.load_dfl()
            self.alignments.file = self.alignments.get_location(
                self.faces.folder,
                "alignments")
        self.alignments.save()
        folder, filename = self.check_file_exists(alignments_file, verbose)
        if filename == "dfl":
            self.set_dfl(verbose, destination_format)
      """ Class to hold the alignment data """
  
      def __init__(self, alignments_file, destination_format, verbose):
          print("\n[ALIGNMENT DATA]")  # Tidy up cli output
        folder, filename = self.check_file_exists(alignments_file, verbose)
        if filename == "dfl":
            self.set_dfl(verbose, destination_format)
        folder, filename = self.check_file_exists(alignments_file, verbose)
        if filename == "dfl":
            self.set_dfl(verbose, destination_format)
        folder, filename = self.check_file_exists(alignments_file, verbose)
        if filename == "dfl":
            self.set_dfl(verbose, destination_format)
        folder, filename = self.check_file_exists(alignments_file, verbose)
        if filename == "dfl":
            self.set_dfl(verbose, destination_format)
        folder, filename = self.check_file_exists(alignments_file, verbose)
        if filename == "dfl":
            self.set_dfl(verbose, destination_format)
        folder, filename = self.check_file_exists(alignments_file, verbose)
        if filename == "dfl":
            self.set_dfl(verbose, destination_format)
        folder, filename = self.check_file_exists(alignments_file, verbose)
        if filename == "dfl":
            self.set_dfl(verbose, destination_format)
        folder, filename = self.check_file_exists(alignments_file, verbose)
        if filename == "dfl":
            self.set_dfl(verbose, destination_format)
        folder, filename = self.check_file_exists(alignments_file, verbose)
        if filename == "dfl":
            self.set_dfl(verbose, destination_format)
              return
  
          self.serializer = Serializer.get_serializer_from_ext(
              self.src_format)
          self.alignments = self.load()
keep keep keep keep replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 Fix convert-adjust (#531)

* Add dimensions to alignments + refactor

* Add frame_dims + funcs to DetectFaces. Add alignments lib

* Convert Adjust working

* Refactor and tidy up 
tools/lib_alignments/media.py