Breaking change 💥
#129 includes a fix for a strange API interaction that required you to create a new, blank VImage before being able to use certain operations that don't actually reference it. The functions that call these operations are now static, and require an arena
to be passed.
For example, VImage.thumbnail
is now a static method. This direct thumbnail mechanism is preferred, and offers quality improvements, as noted in the docs for vips_thumbnail_image
. An example of usage is available in the samples.
All affected VImage
functions are listed here: analyzeload
, arrayjoin
, bandjoin
, bandrank
, black
, composite
, csvload
, csvloadSource
, eye
, fitsload
, fitsloadSource
, fractsurf
, gaussmat
, gaussnoise
, gifload
, gifloadBuffer
, gifloadSource
, grey
, heifload
, heifloadBuffer
, heifloadSource
, identity
, jp2kload
, jp2kloadBuffer
, jp2kloadSource
, jpegload
, jpegloadBuffer
, jpegloadSource
, jxlload
, jxlloadBuffer
, jxlloadSource
, logmat
, magickload
, magickloadBuffer
, maskButterworth
, maskButterworthBand
, maskButterworthRing
, maskFractal
, maskGaussian
, maskGaussianBand
, maskGaussianRing
, maskIdeal
, maskIdealBand
, maskIdealRing
, matload
, matrixload
, matrixloadSource
, openexrload
, openslideload
, openslideloadSource
, pdfload
, pdfloadBuffer
, pdfloadSource
, perlin
, pngload
, pngloadBuffer
, pngloadSource
, ppmload
, ppmloadSource
, radload
, radloadBuffer
, radloadSource
, rawload
, sdf
, sines
, sum
, svgload
, svgloadBuffer
, svgloadSource
, switch1
, text
, thumbnail
, thumbnailBuffer
, thumbnailSource
, tiffload
, tiffloadBuffer
, tiffloadSource
, tonelut
, vipsload
, vipsloadSource
, webpload
, webploadBuffer
, webploadSource
, worley
, xyz
, zone
.
What's Changed
- Add docker test suite, include debian 12 to start by @lopcode in #122
- Signpost libvips-dev on Debian / Ubuntu by @lopcode in #123
- Bump the jackson group with 2 updates by @dependabot in #124
- Bump jvm from 2.0.21 to 2.1.0 by @dependabot in #125
- Bump org.gradle.toolchains.foojay-resolver-convention from 0.8.0 to 0.9.0 by @dependabot in #126
- Fix having to create blank VImages for operations that should be static by @lopcode in #129
Full Changelog: v1.3.0...v1.4.0