<PackageReference Include="System.Drawing.Common" Version="11.0.0-preview.2.26159.112" />

System.Drawing.Imaging.Effects.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.