async def convert(self, local_path: str, **kwargs: Any) -> Union[None, DocumentConverterResult]:
        """Convert an image to markdown.

        Args:
            local_path: Path to the image file
            **kwargs: Additional arguments passed to converters

        Returns:
            AsyncDocumentConverterResult containing the markdown text
        """
        # Bail if not supported image type
        extension = kwargs.get("file_extension", "")
        if not self._is_supported_image(extension):
            return None

        # Check if we have minimum viable conversion capabilities
        if not self._has_minimum_viable_capabilities():
            logger.warning(
                f"Skipping image conversion for {local_path} due to insufficient capabilities"
            )
            return None

        md_content = ""

        # Try Mistral OCR first if available and file size is under 50MB
        ocr_result = await self._try_mistral_ocr(local_path)
        if ocr_result:
            return DocumentConverterResult(title=None, text_content=ocr_result.strip())

        # Add metadata if exiftool is available
        metadata_content = await self._extract_metadata_content(local_path)
        if metadata_content:
            md_content += metadata_content

        # Try describing the image with built-in OpenAI client
        llm_description = await self._try_llm_description(local_path, extension)
        if llm_description:
            md_content += f"\n# Description:\n{llm_description.strip()}\n"

        if not md_content.strip():
            logger.warning(f"No content extracted from image {local_path}")
            return None

        return DocumentConverterResult(title=None, text_content=md_content.strip())
Convert an image to markdown.

        Args:
            local_path: Path to the image file
            **kwargs: Additional arguments passed to converters

        Returns:
            AsyncDocumentConverterResult containing the markdown text
        
backend/airweave/platform/file_handling/conversion/converters/img_converter.py