Skip to content

Commit

Permalink
Docs: clarify when rotate op will remove EXIF Orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Aug 29, 2023
1 parent 9563568 commit 8be6da1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api-operation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/operation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8be6da1

Please sign in to comment.