Returns a writable stream for the image described by context.
The library writes the image bytes to this stream during conversion.
defget_image_stream(self,context):...
Parameter
Type
Description
context
ImageExportContext
The image export context containing the default image file name and other metadata. You may modify ImageExportContext.image_file_name before returning the stream to change the file name that appears in the Markdown output.
Returns: io.RawIOBase: A writable stream where the image data will be written, or None to use the default behavior.