Skip to content

Commit

Permalink
Docs: remove mention of EXIF from flip/flop ops
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Aug 29, 2023
1 parent 8be6da1 commit 9c7713e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions docs/api-operation.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ const resizeThenRotate = await sharp(input)
Mirror the image vertically (up-down) about the x-axis.
This always occurs before rotation, if any.

The use of `flip` implies the removal of the EXIF `Orientation` tag, if any.

This operation does not work correctly with multi-page images.


Expand All @@ -80,8 +78,6 @@ const output = await sharp(input).flip().toBuffer();
Mirror the image horizontally (left-right) about the y-axis.
This always occurs before rotation, if any.

The use of `flop` implies the removal of the EXIF `Orientation` tag, if any.



| Param | Type | Default |
Expand Down
4 changes: 0 additions & 4 deletions lib/operation.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ function rotate (angle, options) {
* Mirror the image vertically (up-down) about the x-axis.
* This always occurs before rotation, if any.
*
* The use of `flip` implies the removal of the EXIF `Orientation` tag, if any.
*
* This operation does not work correctly with multi-page images.
*
* @example
Expand All @@ -102,8 +100,6 @@ function flip (flip) {
* Mirror the image horizontally (left-right) about the y-axis.
* This always occurs before rotation, if any.
*
* The use of `flop` implies the removal of the EXIF `Orientation` tag, if any.
*
* @example
* const output = await sharp(input).flop().toBuffer();
*
Expand Down

0 comments on commit 9c7713e

Please sign in to comment.