ExportImagesAsBase64Strategy class
ExportImagesAsBase64Strategy class
Implements an image export strategy that embeds images as Base64 strings directly in the Markdown.
This strategy converts all images to Base64 format and embeds them directly in the Markdown document using the data URI scheme. This eliminates the need for separate image files, making the Markdown document self-contained. However, this approach increases the size of the Markdown file and may not be supported by all Markdown viewers.
The ExportImagesAsBase64Strategy type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init |
Methods
| Method | Description |
|---|---|
| get_image_stream | Returns None to indicate that the image should be embedded as Base64. |
Properties
| Property | Description |
|---|---|
| images_folder | The images folder path is always an empty string because this strategy embeds images directly in the Markdown. |
See Also
- module
groupdocs.markdown