ImageExportMode
Specifies how images are handled during document export to markup formats (Markdown, HTML).
from nutrient_sdk import ImageExportModeValues
| Name | Value | Description |
|---|---|---|
ImageExportMode.NONE | 0 | Images are not included in the exported output. |
ImageExportMode.EMBEDDED | 1 | Images are embedded inline as base64-encoded data URIs. |
ImageExportMode.EXTERNAL | 2 | Images are saved as separate files in a sibling “{output}_resources” folder next to the output file and referenced by relative path. Requires writing to a file path (or a ) so the resources folder can be derived from the output file name. |
Usage Example
from nutrient_sdk import ImageExportMode
# Access enum valuesvalue = ImageExportMode.NONEprint(f"Value: {value}") # Output: Value: ImageExportMode.NONEprint(f"Integer value: {value.value}") # Output: Integer value: 0