Skip to content

26.7.1

Choose a tag to compare

@github-actions github-actions released this 23 Jul 22:03

26.7.1 — Linux/macOS GDI+ resolver (gdiplus.dll DllNotFoundException)

What changed

  • Added GdiPlusResolver and registered it (GdiPlusResolver.Register()) at the top of Program.cs, before any tool can trigger a GDI+ P/Invoke.
  • Bumped the MCP package version from 26.7.0 to 26.7.1 (CalVer), including .mcp/server.json (both version fields).

Why

GroupDocs.Annotation rasterizes annotations onto document pages through System.Drawing.Common, whose GDI+ interop P/Invokes gdiplus.dll. On Windows that's built in, but on Linux/macOS the system library is libgdiplus.so/.dylib and the .NET native-library loader does not map gdiplus.dll to it — so the annotation tools failed on non-Windows (including inside the Docker image) with DllNotFoundException: Unable to load shared library 'gdiplus.dll', even when libgdiplus was installed. The resolver intercepts that load and points it at the real libgdiplus; it is a no-op on Windows.

Migration / impact

Drop-in replacement for 26.7.0. No tool-name, input-schema, or response-shape changes. Fixes Linux/macOS runs that previously threw the gdiplus.dll error. libgdiplus must still be present (Docker installs it; native users install per the README).

Full Changelog: 26.7.0...26.7.1