Skip to content

v0.18.0 - 30th May 2017

  • Remove the previously-deprecated output format “option” functions: quality, progressive, compressionLevel, withoutAdaptiveFiltering, withoutChromaSubsampling, trellisQuantisation, trellisQuantization, overshootDeringing, optimiseScans and optimizeScans.

  • Ensure maximum output dimensions are based on the format to be used. #176 @stephanebachelier

  • Avoid costly (un)premultiply when using overlayWith without alpha channel. #573 @strarsis

  • Include pixel depth (e.g. “uchar”) when reading metadata. #577 @moedusa

  • Add support for Buffer and Stream-based TIFF output. #587 @strarsis

  • Expose warnings from libvips via NODE_DEBUG=sharp environment variable. #607 @puzrin

  • Switch to the libvips implementation of “attention” and “entropy” crop strategies. #727

  • Improve performance and accuracy of nearest neighbour integral upsampling. #752 @MrIbby

  • Constructor single argument API: allow plain object, reject null/undefined. #768 @kub1x

  • Ensure ARM64 pre-built binaries use correct C++11 ABI version. #772 @ajiratech2

  • Prevent aliasing by using dynamic values for shrink(-on-load). #781 @kleisauke

  • Expose libvips’ “squash” parameter to enable 1-bit TIFF output. #783 @YvesBos

  • Add support for rotation using any multiple of +/-90 degrees. #791 @ncoden

  • Add “jpg” alias to toFormat as shortened form of “jpeg”. #814 @jingsam