### System.Drawing.Common and libgdiplus

From version 6 and up EPPlus works on Linux platforms without calling `System.Drawing.Common` and the underlying *libgdiplus* library for image and font handling. Microsoft has deprecated `System.Drawing.Common` on non-windows platforms from .NET 6.

Note that EPPlus still has a package dependency to `System.Drawing.Common`, but it will only call this library on windows platforms or if explicitly configured to do so. You can test EPPlus 6 on various Linux distributions via our [Docker sample](<https://epplussoftware.com/docs/getting-started/epplus-and-docker/index.md>).

### See also

- [Autofit columns](<https://epplussoftware.com/docs/worksheet-and-ranges/autofit-columns/index.md>)
- [EPPlus and Docker](<https://epplussoftware.com/docs/getting-started/epplus-and-docker/index.md>)
- [EPPlus and Blazor](<https://epplussoftware.com/docs/getting-started/epplus-and-blazor/index.md>)
