Specifies how images are handled during document export to markup formats (Markdown, HTML).

from nutrient_sdk import ImageExportMode

Values

NameValueDescription
ImageExportMode.NONE0Images are not included in the exported output.
ImageExportMode.EMBEDDED1Images are embedded inline as base64-encoded data URIs.
ImageExportMode.EXTERNAL2Images 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 values
value = ImageExportMode.NONE
print(f"Value: {value}") # Output: Value: ImageExportMode.NONE
print(f"Integer value: {value.value}") # Output: Integer value: 0