I don't know why not support this feature. And I modify the local source code. Modify the file is _pptx_converter.py and in about 144 lines.
# If keep_data_uris is True, use base64 encoding for images
if kwargs.get("keep_data_uris", False):
blob = shape.image.blob
content_type = shape.image.content_type or "image/png"
b64_string = base64.b64encode(blob).decode("utf-8")
md_content += f"\n\n"
else:
# A placeholder name
filename = re.sub(r"\W", "", shape.name) + ".jpg"
filepath = os.path.join(kwargs.get("img_dir", "."), filename)
with open(filepath, "wb") as f:
f.write(shape.image.blob)
md_content += f"\n\n"
And this is my test case,this run ok.
from markitdown import MarkItDown
md = MarkItDown()
result = md.convert("/home/xxx/xxx.pptx,img_dir="/home/xxx/imgs/")
print(result.markdown)