KeepImageStreamOpen

MarkdownImageSavingArgs.KeepImageStreamOpen property

When false (default), the converter closes ImageStream after writing — idiomatic for FileStream replacements that should be flushed to disk. Set to true to keep the stream open after conversion completes (typical for a MemoryStream you intend to read yourself); the caller then owns disposal.

public bool KeepImageStreamOpen { get; set; }

See Also