Skip to content

Releases: kleisauke/net-vips

2.0.0

30 Mar 12:16
Compare
Choose a tag to compare

Added

  • Expose "speed" parameter in heifsave to control the CPU effort spent on improving compression (applies to AV1 compression only, see libvips/libvips#1819).
  • Add missing ForeignPngFilter enum (#106).
  • Add missing image.AddAlpha() operation (#116).
  • Add image.Mutate function for creating an MutableImage (#119).

Fixed

  • Ensure images are disposed early throughout the codebase (#114).

Changed

  • Move cache/statistics helpers to dedicated classes (#98).
  • Use enumerations where possible (#112).
  • Methods which modify the image, such as setting or removing metadata requires an MutableImage (see image.Mutate).

1.2.4

13 Jul 17:44
Compare
Choose a tag to compare

Changed

  • Update methods/enums for libvips 8.10.

1.2.3

21 Jun 19:17
Compare
Choose a tag to compare

Added

  • Add support for a single shared libvips binary on Linux and macOS (#83).

1.2.2

16 Jun 13:50
Compare
Choose a tag to compare

Fixed

  • Fix the buffer-based fallback mechanism for NewFromStream / NewFromSource on Windows 32-bit.

Changed

  • Free the associated streams within *loadStream / *saveStream earlier (#78).
  • Speed-up UTF8 string marshalling by using System.Buffers.ArrayPool.

1.2.1

16 Mar 12:59
Compare
Choose a tag to compare

Fixed

  • Fix a bug that freed the stream within Image.NewFromStream too early (#58).

Changed

  • Update enums.

1.2.0

30 Jan 14:44
Compare
Choose a tag to compare

Added

  • Add support for true streaming (#33).
  • A new NetVips.Extensions package containing useful helpers (#41).
  • Add Image.Switch(), image.Case() and image.NewFromMemoryCopy() operations.
  • Add support for the short-circuit operators (&& / ||).
  • Add Enums.Signals and Image.EvalDelegate that can be used with image.SignalConnect().
  • Add image.RefCount() to get the reference count of an image.
  • Add NetVips.GetOperations() to get a list of operations available within the libvips library.
  • Add VipsProgress struct to the public API.
  • Add image.WriteToMemory(out ulong) to write the image to an unformatted C-style array.
    • This is a low-level operation, make sure you free the returned memory with NetVips.Free.

Changed

  • The image.SetType() function has been renamed to image.Set().
  • The Image.Sum() function uses the params keyword.
  • Speed-up Operation.Call.
  • Free the VipsOperation pointers within Operation.Call earlier (#53).
  • Unset the GValue within VipsObject.Set and VipsObject.Get earlier.
  • The internal function Operation.GenerateImageClass() has moved to the samples directory.

1.2.0-rc2

09 Jan 19:03
Compare
Choose a tag to compare
1.2.0-rc2 Pre-release
Pre-release

As rc1, but incorporating a improvement:

Added

  • Add image.WriteToMemory(out ulong) to write the image to an unformatted C-style array.
    • This is a low-level operation, make sure you free the returned memory with NetVips.Free.

1.2.0-rc1

07 Jan 19:51
Compare
Choose a tag to compare
1.2.0-rc1 Pre-release
Pre-release

Added

  • Add support for true streaming (#33).
  • A new NetVips.Extensions package containing useful helpers (#41).
  • Add Image.Switch(), image.Case() and image.NewFromMemoryCopy() operations.
  • Add support for the short-circuit operators (&& / ||).
  • Add Enums.Signals and Image.EvalDelegate that can be used with image.SignalConnect().
  • Add image.RefCount() to get the reference count of an image.
  • Add NetVips.GetOperations() to get a list of operations available within the libvips library.
  • Add VipsProgress struct to the public API.

Changed

  • The image.SetType() function has been renamed to image.Set().
  • The Image.Sum() function uses the params keyword.
  • Speed-up Operation.Call.
  • Free the GValue within VipsObject.Set and VipsObject.Get earlier.
  • The internal function Operation.GenerateImageClass() has moved to the samples directory.

1.1.0

29 Jul 20:16
Compare
Choose a tag to compare

Added

  • A new NetVips.Native package containing the pre-compiled libvips binaries for Linux, macOS and Windows (#21).
  • Add NetVips.GetSuffixes() to get a list of all the filename suffixes supported by libvips (libvips/ruby-vips#186).
  • Add support for progress feedback (image.SetProgress()) and signal handling (image.SignalConnect()) (#31).
  • Add image.SetKill() and image.IsKilled() (#31, libvips/libvips@91d0e7e).
  • Add NetVips.ProfileSet(), NetVips.VectorSet(), NetVips.ConcurrencySet() and NetVips.ConcurrencyGet() utilities.
  • Add support for loading and saving from and to streams (Image.NewFromStream() / image.WriteToStream()) (#33).
  • Add Region class to read pixels from images without storing the entire image in memory.
  • Add image[x, y] overload as a synonym for image.Getpoint(x, y).
  • Add missing arithmetic operators (1 - image, 1 / image, etc.).
  • Add support for identifying image formats (Image.FindLoad(), Image.FindLoadBuffer() and Image.FindLoadStream()) (#37).
  • Add image.PageHeight property for retrieving the page height for multi-page images.

Changed

  • Improve memory management (#26).
  • The bundled libvips Windows binaries were moved to the NetVips.Native package.
  • Update and improve the NetVips.Benchmarks (#34).
  • The overloadable operators == and != have been changed to Equal and NotEqual to avoid conflicts with null checks.
  • Some methods are overloaded instead of defining the parameters as object type.
  • The base class was renamed from Base to NetVips to comply with the C# code conventions.
  • The Operation.VipsCacheSet* utilities has been moved to NetVips.CacheSet*.
  • Speed-up Operation.Call by avoiding unnecessary loops.
  • Remove usage of LINQ in several critical paths.
  • The composite x and y positions were changed into an array (#39).

Removed

  • The UseGlobalLibvips property since the bundled libvips binaries were moved to the NetVips.Native package.

1.1.0-rc3

22 Jun 15:16
Compare
Choose a tag to compare
1.1.0-rc3 Pre-release
Pre-release

If there's nothing reported for a week, this will become 1.1.0 final. Changes since rc2:

Added

  • Add support for loading and saving from and to streams (Image.NewFromStream() / image.WriteToStream()) (#33).
  • Add Region class to read pixels from images without storing the entire image in memory.
  • Add image[x, y] overload as a synonym for image.Getpoint(x, y).
  • Add missing arithmetic operators (1 - image, 1 / image, etc.).
  • Add support for identifying image formats (Image.FindLoad(), Image.FindLoadBuffer() and Image.FindLoadStream()) (#37).

Changed

  • Speed-up Operation.Call by avoiding unnecessary loops.
  • Remove usage of LINQ in several critical paths.