Skip to content

Commit 0f65d7d

Browse files
committed
Add Exif orientation visualization to the README.
1 parent 7e5f90b commit 0f65d7d

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,34 @@ an `integer` in the range of `1` to `8` or the boolean value `true`.
332332
When set to `true`, it will set the orientation value based on the EXIF data of
333333
the image, which will be parsed automatically if the exif library is available.
334334

335+
Exif orientation values to correctly display the letter F:
336+
337+
```
338+
1 2
339+
██████ ██████
340+
██ ██
341+
████ ████
342+
██ ██
343+
██ ██
344+
345+
3 4
346+
██ ██
347+
██ ██
348+
████ ████
349+
██ ██
350+
██████ ██████
351+
352+
5 6
353+
██████████ ██
354+
██ ██ ██ ██
355+
██ ██████████
356+
357+
7 8
358+
██ ██████████
359+
██ ██ ██ ██
360+
██████████ ██
361+
```
362+
335363
Setting `orientation` to `true` enables the `canvas` and `meta` options, unless
336364
the browser supports automatic image orientation (see
337365
[browser support for image-orientation](https://caniuse.com/#feat=css-image-orientation)).

0 commit comments

Comments
 (0)