mirror of
https://github.com/lovell/sharp.git
synced 2026-02-12 17:46:13 +01:00
Upgrade to libvips v8.12.0-rc1
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user