This repository has been archived by the owner on May 25, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Orientation
Sebastian Tschan edited this page Jun 9, 2020
·
4 revisions
A list of useful Options for image orientation:
- To upload the original images, use the following options:
{ imageOrientation: false, disableImageResize: true }
- To upload images resized and reoriented on client-side and otherwise meta data preserved, use the following options:
{ imageOrientation: true, disableImageResize: false, imageMaxWidth: 1920, imageMaxHeight: 1080 }
- To upload images with their original dimensions, their orientation corrected on client-side but otherwise metadata preserved, use the following options:
{ imageOrientation: true, disableImageResize: false, imageForceResize: true, imageMaxWidth: null, imageMaxHeight: null }
- To upload images resized on client-side, with their original pixel data orientation and meta data preserved, use the following options:
{ imageOrientation: 1, disableImageResize: false, imageMaxWidth: 1920, imageMaxHeight: 1080 }
- To upload images resized and reoriented on client-side and meta data discarded, use the following options:
{ imageOrientation: true, disableImageResize: false, disableImageMetaDataSave: true, imageMaxWidth: 1920, imageMaxHeight: 1080 }