Upgrade to libvips v8.12.0-rc1

This commit is contained in:
Lovell Fuller
2021-11-16 10:28:38 +00:00
parent 1ff84b20b7
commit 079bd7b9f5
14 changed files with 111 additions and 77 deletions

View File

@@ -180,6 +180,8 @@ class MetadataWorker : public Napi::AsyncWorker {
}
if (baton->pageHeight > 0) {
info.Set("pageHeight", baton->pageHeight);
} else if (baton->pages > 0) {
info.Set("pageHeight", baton->height);
}
if (baton->loop >= 0) {
info.Set("loop", baton->loop);