Skip to content

Commit

Permalink
Removed beforeValues geometry checks
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeschastny committed Jun 10, 2015
1 parent 6ed5020 commit 3ec9f3d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions test/autoOrient.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -34,4 +33,4 @@ module.exports = function (_, dir, finish, gm) {
})
})
});
}
}
1 change: 0 additions & 1 deletion test/autoOrientAll.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions test/autoOrientStream.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -39,4 +38,4 @@ module.exports = function (_, dir, finish, gm) {
}, 200);
});
});
}
}

0 comments on commit 3ec9f3d

Please sign in to comment.