Skip to content

v0.23.1 - 2019年9月26日

  • 确保 sharp.format.vips 存在且正确(仅限文件系统)。 #1813
  • 确保作为 resize 选项提供的无效 width 和 height 会抛出异常。 #1817
  • 允许在 toFormat 中使用 ‘heic’ 和 ‘heif’ 标识符。 #1834 @jaubourg
  • 向 composite 操作添加 premultiplied 选项。 #1835 @Andargor
  • 允许实例在不同的 toBuffer 选项下重用。 #1860 @RaboliotTheGrey
  • 尝试修剪操作前,请确保图片至少为 3x3 像素。