Skip to content

3.2.0

Latest

Choose a tag to compare

@kleisauke kleisauke released this 01 Jan 10:55
· 39 commits to master since this release

Added

  • Add generic array overload for Image.NewFromMemory().
  • Add generic image.WriteToMemory<T>() operation.
  • Add image.Gainmap property to retrieve the gainmap from Ultra HDR images.

Changed

  • Update methods/enums for libvips 8.18.
  • Remove version constraint for System.Buffers when targeting .NET Framework (#262).
  • Lower minimum version requirement for System.Drawing.Common to 8.0.0 in NetVips.Extensions package (only required when targeting .NET 6 or later).
  • Bump minimum required .NET Framework version to v4.6.2.
  • Deprecate AOT-incompatible Image.NewFromMemory(Array, int, int, int, Enums.BandFormat) overload.
  • Deprecate image.WriteToMemory() in favor of image.WriteToMemory<T>().

Fixed

  • Fix size calculation in Image.NewFromMemory() for non-byte element types (#264).
  • Add missing band format check to image.WriteToMemory().