Adaptive Images no longer has a dependency to ImageSharp V2

Den här artikeln är inte översatt till svenska och visas därför på engelska istället.


The Adaptive Images add-on for Optimizely uses ImageSharp for some of its image manipulation. From version 2.0.10.1, this is  a transitive dependency to ImageSharp V3 instead of an explicit dependency to V2.

Uppskattad lästid : 1 minuter

Gå till avsnitt

Key takeaways

  • Adaptive Images now uses ImageSharp V3
  • No longer an explicit dependency to ImageSharp NuGet package

What has changed?

Adaptive Images used to have an explicit dependency to version 2 of the SixLabors.ImageSharp NuGet package.

This has been replaced with a dependency to version 2.x of the EPiServer.ImageLibrary.ImageSharp NuGet package from Optimizely, which effectively means a transitive dependency to ImageSharp V3.

Why the change?

There are two main reasons: to align with Optimizely's use of ImageSharp and to avoid Adaptive Images requiring its own ImageSharp license.

Adaptive Images isn't by itself relying on ImageSharp, but is instead designed to make use of Optimizely, and its peripheral services like the CDN, for image manipulation. If Optimizely moves away from ImageSharp, so will Adaptive Images.