跳转到内容

v0.23.1 - 2019年9月26日

  • 确保 sharp.format.vips 存在且正确(仅限文件系统)。 #1813

  • 确保作为 resize 选项提供的无效 widthheight 会抛出错误。 #1817

  • 允许在 toFormat 中使用 ‘heic’ 和 ‘heif’ 标识符。 #1834 @jaubourg

  • composite 操作添加 premultiplied 选项。 #1835 @Andargor

  • 允许使用不同的 toBuffer 选项重复使用实例。 #1860 @RaboliotTheGrey

  • 确保图像至少为 3x3 像素后再尝试执行裁剪操作。