From 9c7713ed54755fd72c4569923d14ced5418ff129 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Tue, 29 Aug 2023 10:49:21 +0100 Subject: [PATCH] Docs: remove mention of EXIF from flip/flop ops --- docs/api-operation.md | 4 ---- lib/operation.js | 4 ---- 2 files changed, 8 deletions(-) diff --git a/docs/api-operation.md b/docs/api-operation.md index 1e438ed3..41874553 100644 --- a/docs/api-operation.md +++ b/docs/api-operation.md @@ -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. @@ -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 | diff --git a/lib/operation.js b/lib/operation.js index ff787d43..199a0ebe 100644 --- a/lib/operation.js +++ b/lib/operation.js @@ -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 @@ -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(); *