Add autoOrient operation and constructor option #4144

This commit is contained in:
Don Denton
2024-07-03 10:34:54 -04:00
committed by Lovell Fuller
parent b7ff2645c4
commit 14c83e1f4c
137 changed files with 428 additions and 136 deletions

View File

@@ -138,6 +138,10 @@ describe('PNG', function () {
const { size, ...metadata } = await sharp(data).metadata();
assert.deepStrictEqual(metadata, {
autoOrient: {
height: 68,
width: 68
},
format: 'png',
width: 68,
height: 68,