public interface IImageExportStrategy
Implement this interface to customize how images are exported from source documents.
This interface provides methods to control the image export process during document conversion. You can implement this interface to customize where images are stored and how they are processed.
Example:
{@code
public class CustomImageExportStrategy implements IImageExportStrategy {| Modifier and Type | Method and Description |
|---|---|
String |
getImagesFolder()
Gets the folder where exported images will be stored.
|
OutputStream |
getImageStream(ImageExportContext context)
Gets a stream for writing the exported image.
|
String getImagesFolder()
OutputStream getImageStream(ImageExportContext context) throws IOException
context - The image export context containing information about the image being processed.OutputStream where the image data should be written.IOException - If an error occurs while opening or creating the output stream.Copyright © 2026. All rights reserved.