SaveImageToJpeg_Asynchronous
Saves an image to a JPEG file in the background thread.
Syntax
C++
Python
def SaveImageToJpeg_Asynchronous( state: SaveImageState, inImage: Image, inFile: str, /, *, inThreadQueueSize: int = 3, inQuality: int | None = None, inIgnoreErrors: bool = False ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | SaveImageState | State containing information about asynchronous execution | ||
![]() |
inThreadQueueSize | int | 1 - ![]() |
3 | Number of incoming frames that can be buffered before the thread is able to process them |
![]() |
inImage | Image | An image to be saved | ||
![]() |
inFile | str | Path to a file | ||
![]() |
inQuality | int | None | 0 - 100 | None | Quality |
![]() |
inIgnoreErrors | bool | False | If false the error will be reported as soon as the filter instance is again executed |



