From f2e116294f837ac1fddef5cd008e77f4f5c1882a Mon Sep 17 00:00:00 2001 From: Toshiyuki Sakamoto Date: Sun, 16 Feb 2025 13:47:46 +0900 Subject: [PATCH] add necessary imports --- .../markitdown/src/markitdown/converters/_image_converter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/markitdown/src/markitdown/converters/_image_converter.py b/packages/markitdown/src/markitdown/converters/_image_converter.py index a46b67c..55d30c7 100644 --- a/packages/markitdown/src/markitdown/converters/_image_converter.py +++ b/packages/markitdown/src/markitdown/converters/_image_converter.py @@ -1,7 +1,8 @@ from typing import Union from ._base import DocumentConverter, DocumentConverterResult from ._media_converter import MediaConverter - +import base64 +import mimetypes class ImageConverter(MediaConverter): """