Skip to content

v0.18.0 - 2017年5月30日

  • 移除之前已弃用的输出格式“选项”功能:quality、progressive、compressionLevel、withoutAdaptiveFiltering、withoutChromaSubsampling、trellisQuantisation、trellisQuantization、overshootDeringing、optimiseScans 和 optimizeScans。
  • 确保最大输出尺寸基于要使用的格式。#176 @stephanebachelier
  • 在使用没有 alpha 通道的 overlayWith 时,避免昂贵的(非)预乘操作。#573 @strarsis
  • 在读取元数据时包括像素深度(例如“uchar”)。 #577 @moedusa
  • 为基于缓冲区和流的TIFF输出添加支持。 #587 @strarsis
  • 通过设置 NODE_DEBUG=sharp 环境变量来显示 libvips 的警告。 #607 @puzrin
  • 切换到 libvips 实现的 “attention” 和 “entropy” 裁剪策略。#727
  • 提高最近邻积分上采样的性能和精度。 #752 @MrIbby
  • 构造函数单参数 API:允许普通对象,不允许 null/undefined。 #768 @kub1x
  • 确保 ARM64 预编译二进制使用正确的 C++11 ABI 版本。 #772 @ajiratech2
  • 通过对 shrink(-on-load) 使用动态值来防止别名。 #781 @kleisauke
  • 公开 libvips 的“squash”参数以启用 1 位 TIFF 输出。 #783 @YvesBos
  • 添加对任意 +/-90 度倍数旋转的支持。#791 @ncoden
  • 给 toFormat 添加 “jpg” 别名,作为 “jpeg” 的缩写。#814 @jingsam