                  face_idx, os.path.basename(filename)))
          return skip_face
  
  
  class Rotate():
      """ Rotate landmarks and bounding boxes on legacy alignments
          and remove the 'r' parameter """
      def __init__(self, alignments, verbose, frames):
          self.verbose = verbose
          self.alignments = alignments
          self.frames = {os.path.basename(frame): frame
 
</s> remove class Rotate():
    """ Rotating landmarks and bounding boxes on legacy alignments
 </s> add class Legacy():
    """ Update legacy alignments:

        - Add frame dimensions
        - Rotate landmarks and bounding boxes on legacy alignments </s> remove         if self.alignments.src_format == "dfl":
 </s> add         if self.alignments.file == "dfl": </s> remove     def __init__(self, verbose=False, align_eyes=False, size=256):
 </s> add     def __init__(self, verbose=False, align_eyes=False, size=256, padding=48): </s> remove     def get_source_format(self):
        """ Get the source alignments format """
        if self.file.lower() == "dfl":
            return "dfl"
        return os.path.splitext(self.file)[1].lower()
 </s> add     def set_dfl(self, verbose, destination_format):
        """ Set the alignments for dfl alignments """
        self.verbose = verbose
        self.file = "dfl"
        self.set_destination_format(destination_format) </s> remove         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()
 </s> add         folder, filename = self.check_file_exists(alignments_file, verbose)
        if filename == "dfl":
            self.set_dfl(verbose, destination_format)
class Legacy():
    """ Update legacy alignments:

        - Add frame dimensions
        - Rotate landmarks and bounding boxes on legacy alignments
                  face_idx, os.path.basename(filename)))
          return skip_face
  
  
class Legacy():
    """ Update legacy alignments:

        - Add frame dimensions
        - Rotate landmarks and bounding boxes on legacy alignments
class Legacy():
    """ Update legacy alignments:

        - Add frame dimensions
        - Rotate landmarks and bounding boxes on legacy alignments
          and remove the 'r' parameter """
      def __init__(self, alignments, verbose, frames):
          self.verbose = verbose
          self.alignments = alignments
          self.frames = {os.path.basename(frame): frame
keep keep keep keep 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 
scripts/convert.py