PeachImage

PeachImage.ResizeOptions

ResizeOptions.MaxDegreeOfParallelism Property

The most threads one resize call may use. -1 (the default) leaves it to the library, which fans out over up to System.Environment.ProcessorCount workers; 1 resizes sequentially on the calling thread. The limit is per call, not global: concurrent calls each use up to this many, so cap the total with TaskScheduler. Does not change the output.

public int MaxDegreeOfParallelism { get; init; }

Property Value

System.Int32