@nextcloud/image-editor
    Preparing search index...

    Function isOrientation

    • Whether a number is one of the eight orientations.

      Files do carry values outside the range, and a reader that trusts one shows the picture turned some way nobody chose, so anything unknown is better treated as the default.

      Parameters

      • value: number

        the number read from a file

      Returns value is Orientation