File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ Enabling the `crop` option also enables the `canvas` option.
447
447
Transform the canvas according to the specified Exif orientation, which can be
448
448
an ` integer ` in the range of ` 1 ` to ` 8 ` or the boolean value ` true ` .
449
449
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
451
451
the image, which will be parsed automatically if the Exif extension is
452
452
available.
453
453
@@ -680,9 +680,9 @@ become available, as well as three additional methods:
680
680
- ` exif.getAll() `
681
681
682
682
``` js
683
- var orientationText = data .exif .getText (' Orientation' ) // e.g. right-top
683
+ var orientationText = data .exif .getText (' Orientation' ) // e.g. "Rotate 90° CW"
684
684
685
- var name = data .exif .getName (0x0112 ) // Orientation
685
+ var name = data .exif .getName (0x0112 ) // " Orientation"
686
686
687
687
// A map of all parsed tags with their mapped names/text as keys/values:
688
688
var allTags = data .exif .getAll ()
You can’t perform that action at this time.
0 commit comments