Kiri API reference
    Preparing search index...

    Interface CropRegion

    The current crop selection expressed as a rectangle in the original, unrotated, unflipped source image's own pixel coordinates — for sending to a server that will crop the full-resolution original itself, instead of uploading a client-re-encoded image. rotation/flip are included so the server can reproduce the full transform: crop to x/y/width/ height first (that rectangle is already expressed in the original, untransformed image's own coordinates), then rotate, then flip, in that order — matching how Kiri itself composes them (rotation first, flip applied to the already-rotated result, so flip always mirrors what was displayed, not the original image's own pre-rotation axes) — and get an identical result to what the user saw. See getCropRegion().

    interface CropRegion {
        x: number;
        y: number;
        width: number;
        height: number;
        rotation: number;
        flip: Flip;
    }
    Index
    x: number
    y: number
    width: number
    height: number
    rotation: number
    flip: Flip