Upgrade to libvips v8.9.1-alpha1 prebuild

This commit is contained in:
Lovell Fuller
2020-02-19 11:37:30 +00:00
parent c17807c995
commit 8b3c0daab2
7 changed files with 18 additions and 16 deletions

View File

@@ -25,7 +25,7 @@
// Verify platform and compiler compatibility
#if (VIPS_MAJOR_VERSION < 8 || (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION < 9))
#error "libvips version 8.9.0+ is required - please see https://sharp.pixelplumbing.com/install"
#error "libvips version 8.9.1+ is required - please see https://sharp.pixelplumbing.com/install"
#endif
#if ((!defined(__clang__)) && defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6)))

View File

@@ -1320,7 +1320,7 @@ Napi::Value pipeline(const Napi::CallbackInfo& info) {
baton->heifQuality = sharp::AttrAsUint32(options, "heifQuality");
baton->heifLossless = sharp::AttrAsBool(options, "heifLossless");
baton->heifCompression = static_cast<VipsForeignHeifCompression>(
vips_enum_from_nick(nullptr, VIPS_TYPE_FOREIGN_HEIF_COMPRESSION,
vips_enum_from_nick(nullptr, VIPS_TYPE_FOREIGN_HEIF_COMPRESSION,
sharp::AttrAsStr(options, "heifCompression").data()));
// Tile output
baton->tileSize = sharp::AttrAsUint32(options, "tileSize");

View File

@@ -150,7 +150,7 @@ struct PipelineBaton {
double tiffXres;
double tiffYres;
int heifQuality;
int heifCompression; // TODO(libvips 8.9.0): VipsForeignHeifCompression
VipsForeignHeifCompression heifCompression;
bool heifLossless;
std::string err;
bool withMetadata;
@@ -258,7 +258,7 @@ struct PipelineBaton {
tiffXres(1.0),
tiffYres(1.0),
heifQuality(80),
heifCompression(1), // TODO(libvips 8.9.0): VIPS_FOREIGN_HEIF_COMPRESSION_HEVC
heifCompression(VIPS_FOREIGN_HEIF_COMPRESSION_HEVC),
heifLossless(false),
withMetadata(false),
withMetadataOrientation(-1),