View source: R/adjust_rotation.R
orient_files | R Documentation |
[Exif metadata](https://en.wikipedia.org/wiki/Exif) records the orientation of images. Before passing images to the handwriting API, you will want to make sure that the x and y axes are the way the picture-taker intended.
orient_files(files)
files |
paths to files |
This is going to be fairly slow, as it is reading and writing images to/from (temp)files, so at some point there should be some reading of metadata to find out whether it needs to be done or not.
re-oriented files
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.