pdfextract API
    Preparing search index...

    Interface ImageOrientation

    How a stored raster is oriented relative to its appearance on the page. To display it as on the page, mirror it horizontally when mirrored is true, then rotate it clockwise by rotation degrees. { rotation: 0, mirrored: false } means the stored raster is already upright. Rotation is rounded to the nearest quarter turn; smaller tilts are left in place.

    interface ImageOrientation {
        mirrored: boolean;
        rotation: 0 | 90 | 180 | 270;
    }
    Index
    mirrored: boolean

    Whether the placement mirrors the stored raster.

    rotation: 0 | 90 | 180 | 270

    Clockwise rotation in degrees, applied after any mirroring.