Processes the stream input and outputs it to the desired RasterImageFormat according to the LoadDocumentOptions.
[IteratorStateMachineAttribute(System.Type)]
public IEnumerable<Stream> ProcessImage(
Stream input,
LoadDocumentOptions documentOptions,
RasterImageFormat outputFormat,
IList<Action<RasterImage>> ipActions,
string workingDirectory
)
<IteratorStateMachineAttribute(System.Type)>
Public Function ProcessImage(
ByVal input As Stream,
ByVal documentOptions As LoadDocumentOptions,
ByVal outputFormat As RasterImageFormat,
ByVal ipActions As IList(Of Action(Of RasterImage,
ByVal workingDirectory As String
))) As IEnumerable(Of Stream)
public:
[IteratorStateMachineAttribute(System::Type)]
IEnumerable<Stream^>^ ProcessImage(
Stream^ input,
LoadDocumentOptions^ documentOptions,
RasterImageFormat^ outputFormat,
IList<Action<RasterImage^>^>^ ipActions,
String^ workingDirectory
)
input
Stream input containing the image or document to process.
documentOptions
The document options to use when loading the input.
outputFormat
The desired output format to convert the input to after processing.
ipActions
List of RasterImage actions to be performed on the input stream.
workingDirectory The path to the directory where temporary work is to be done. If null is passed, the directory will default to the current user’s temporary folder.
Returns an IEnumerable stream.
This method will run the list of ImageProcessing actions on the input stream and return the processed image in the output specified. The returned IEnumerable stream will contain either 1 stream if the output format is multipage or multiple streams if the input was multipage and the output format selected is single-page.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document