mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Add autoOrient operation and constructor option #4144
This commit is contained in:
committed by
Lovell Fuller
parent
b7ff2645c4
commit
14c83e1f4c
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user