<PackageReference Include="System.Drawing.Common" Version="10.0.0-rc.1.25451.107" />

Effect

public abstract class Effect : IDisposable
Base class for all effects.
public void Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

protected virtual void Dispose(bool disposing)

Releases the unmanaged resources used by the Effect and optionally releases the managed resources.