              retval.append(cv2.imencode(self._extension,  # pylint: disable=no-member
                                         mask,
                                         self._args)[1])
  
          retval.insert(0, cv2.imencode(self._extension,  # pylint: disable=no-member
                                        image,
                                        self._args)[1])
          return retval
  
      def close(self) -> None:
 
</s> remove             retval.append(cv2.imencode(self._extension,  # pylint: disable=no-member
 </s> add             retval.append(cv2.imencode(self._extension, </s> remove             args = (cv2.IMWRITE_PNG_COMPRESSION,  # pylint: disable=no-member
 </s> add             args = (cv2.IMWRITE_PNG_COMPRESSION, </s> remove             args = (cv2.IMWRITE_JPEG_QUALITY,  # pylint: disable=no-member
 </s> add             args = (cv2.IMWRITE_JPEG_QUALITY, </s> remove                              getattr(cv2, "COLOR_{}".format(conversion))).astype("float32") / 255.0
 </s> add                              getattr(cv2, f"COLOR_{conversion}")).astype("float32") / 255.0 </s> remove         conversion = "{}2BGR".format(colorspace) if to_bgr else "BGR2{}".format(colorspace)
 </s> add         conversion = f"{colorspace}2BGR" if to_bgr else f"BGR2{colorspace}"
        retval.insert(0, cv2.imencode(self._extension,
              retval.append(cv2.imencode(self._extension,  # pylint: disable=no-member
                                         mask,
                                         self._args)[1])
  
        retval.insert(0, cv2.imencode(self._extension,
                                        image,
                                        self._args)[1])
          return retval
  
      def close(self) -> None:
keep keep keep keep replace keep keep keep keep keep
 Bugfix: convert - Gif Writer
  - Fix non-launch error on Gif Writer
  - convert plugins - linting
  - convert/fs_media/preview/queue_manager - typing
  - Change convert items from dict to Dataclass 
plugins/convert/writer/opencv.py