Skip to content

Python tool for converting files and office documents to Markdown.

add necessary imports (#861)

tanreinamaa87fbf01ee66
diff --git a/packages/markitdown/src/markitdown/converters/_image_converter.py b/packages/markitdown/src/markitdown/converters/_image_converter.py
index a46b67c8..3c848dd4 100644
--- a/packages/markitdown/src/markitdown/converters/_image_converter.py
+++ b/packages/markitdown/src/markitdown/converters/_image_converter.py
@@ -1,6 +1,8 @@
from typing import Union
from ._base import DocumentConverter, DocumentConverterResult
from ._media_converter import MediaConverter
+import base64
+import mimetypes
class ImageConverter(MediaConverter):