<PackageReference Include="System.Drawing.Common" Version="10.0.0-preview.1.25080.3" />

DensityCurveEffect

Simulates increasing or decreasing the film density of a photograph.
public int Density { get; }

A value in the range of -256 through 256 that specifies the density. A value of 0 specifies no change in density. Positive values specify increased density (lighter picture) and negative values specify decreased density (darker picture).

public DensityCurveEffect(CurveChannel channel, int density)

Creates a new DensityCurveEffect with the given density.