Docs: clarify when rotate op will remove EXIF Orientation

This commit is contained in:
Lovell Fuller 2023-08-29 10:19:07 +01:00
parent 95635683ac
commit 8be6da1def
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ the background colour can be provided with the `background` option.
If no angle is provided, it is determined from the EXIF data.
Mirroring is supported and may infer the use of a flip operation.
The use of `rotate` implies the removal of the EXIF `Orientation` tag, if any.
The use of `rotate` without an angle will remove the EXIF `Orientation` tag, if any.
Only one rotation can occur per pipeline.
Previous calls to `rotate` in the same pipeline will be ignored.

View File

@ -19,7 +19,7 @@ const is = require('./is');
* If no angle is provided, it is determined from the EXIF data.
* Mirroring is supported and may infer the use of a flip operation.
*
* The use of `rotate` implies the removal of the EXIF `Orientation` tag, if any.
* The use of `rotate` without an angle will remove the EXIF `Orientation` tag, if any.
*
* Only one rotation can occur per pipeline.
* Previous calls to `rotate` in the same pipeline will be ignored.