Removed beforeValues geometry checks

master
Leonid Beschastny 9 years ago
parent 6ed5020a15
commit 3ec9f3d751
  1. 3
      test/autoOrient.js
  2. 1
      test/autoOrientAll.js
  3. 3
      test/autoOrientStream.js

@ -14,7 +14,6 @@ module.exports = function (_, dir, finish, gm) {
assert.equal('RightTop', o);
assert.ok(!! this.data['Profile-EXIF'], 'No Profile-EXIF data found');
assert.equal('155x460', this.data.Geometry);
// this image is sideways, but may be auto-oriented by modern OS's
// try opening it in a browser to see its true orientation
@ -34,4 +33,4 @@ module.exports = function (_, dir, finish, gm) {
})
})
});
}
}

@ -72,7 +72,6 @@ module.exports = function (_, dir, finish, gm) {
assert.equal(beforeValues[filename][0], o);
assert.equal(beforeValues[filename][1], this.data['Profile-EXIF'].Orientation, 'No Profile-EXIF data found');
assert.equal(beforeValues[filename][2], this.data.Geometry);
// this image is sideways, but may be auto-oriented by modern OS's
// try opening it in a browser to see its true orientation

@ -16,7 +16,6 @@ module.exports = function (_, dir, finish, gm) {
assert.equal('RightTop', o);
assert.ok(!! this.data['Profile-EXIF'], 'No Profile-EXIF data found');
assert.equal('155x460', this.data.Geometry);
// this image is sideways, but may be auto-oriented by modern OS's
// try opening it in a browser to see its true orientation
@ -39,4 +38,4 @@ module.exports = function (_, dir, finish, gm) {
}, 200);
});
});
}
}

Loading…
Cancel
Save