<PackageReference Include="System.Drawing.Common" Version="8.0.11" />

FlushIntention

public enum FlushIntention
Specifies whether commands in the graphics stack are terminated (flushed) immediately or executed as soon as possible.
Flush = 0

Specifies that the stack of all graphics operations is flushed immediately.

Sync = 1

Specifies that all graphics operations on the stack are executed as soon as possible. This synchronizes the graphics state.