v0.31.0 - 5th September 2022
-
Drop support for Node.js 12, now requires Node.js >= 14.15.0.
-
GIF output now re-uses input palette if possible. Use
reoptimiseoption to generate a new palette. -
Add WebP
minSizeandmixedoptions for greater control over animation frames. -
Remove previously-deprecated WebP
reductionEffortand HEIFspeedoptions. Useeffortto control these. -
The
flipandflopoperations will now occur before therotateoperation. -
Improve
normaliseoperation with use of histogram. #200 -
Use combined bounding box of alpha and non-alpha channels for
trimoperation. #2166 -
Add Buffer and Stream support to tile-based output. #2238
-
Add input
fileSuffixand outputaliastoformatinformation. #2642 -
Re-introduce support for greyscale ICC profiles (temporarily removed in 0.30.2). #3114
-
Add support for WebP and PackBits
compressionoptions with TIFF output. #3198 -
Ensure OpenSlide and FITS input works with custom libvips. #3226
-
Ensure
trimoperation is a no-op when it would reduce an image to nothing. #3223 -
Expose
vips_textto create an image containing rendered text. #3252 @brahima -
Ensure only properties owned by the
withMetadataEXIF Object are parsed. #3292 -
Expand
linearoperation to allow use of per-channel arrays. #3303 @antonmarsden -
Ensure the order of
rotate,resizeandextendoperations is respected where possible. Emit warnings when previous calls in the same pipeline will be ignored. #3319 -
Ensure PNG bitdepth can be set for non-palette output. #3322
-
Add trim option to provide a specific background colour. #3332 @mart-jansink
-
Ensure resized image is unpremultiplied before composite. #3334