Back to Adaptive Vision Library Lite website
You are here: Start » Image IO » SaveImageToJpeg_Asynchronous
![](../../img/icon/SaveImage.png)
SaveImageToJpeg_Asynchronous
Saves an image to a JPEG file in the background thread.
Syntax
void avl::SaveImageToJpeg_Asynchronous ( SaveImageState& ioState, const avl::Image& inImage, const atl::File& inFile, atl::Optional<int> inQuality )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | SaveImageState& | Object used to maintain state of the function. | |||
![]() |
inImage | const Image& | An image to be saved | ||
![]() |
inFile | const File& | Path to a file | ||
![]() |
inQuality | Optional<int> | 0 - 100 | NIL | Quality |
Remarks
This filter is executed in the background thread. Execution errors may be reported with a delay or ignored. Stopping of the program may be delayed, because of waiting for background work to complete.