Skip to content

Commit b0969f6

Browse files
committed
Docs: Update Exif orientation text examples.
1 parent 4428dc9 commit b0969f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ Enabling the `crop` option also enables the `canvas` option.
447447
Transform the canvas according to the specified Exif orientation, which can be
448448
an `integer` in the range of `1` to `8` or the boolean value `true`.
449449

450-
When set to `true`, it will set the orientation value based on the EXIF data of
450+
When set to `true`, it will set the orientation value based on the Exif data of
451451
the image, which will be parsed automatically if the Exif extension is
452452
available.
453453

@@ -680,9 +680,9 @@ become available, as well as three additional methods:
680680
- `exif.getAll()`
681681

682682
```js
683-
var orientationText = data.exif.getText('Orientation') // e.g. right-top
683+
var orientationText = data.exif.getText('Orientation') // e.g. "Rotate 90° CW"
684684

685-
var name = data.exif.getName(0x0112) // Orientation
685+
var name = data.exif.getName(0x0112) // "Orientation"
686686

687687
// A map of all parsed tags with their mapped names/text as keys/values:
688688
var allTags = data.exif.getAll()

0 commit comments

Comments
 (0)