@oneblink/apps-react
    Preparing search index...

    Function generateCroppedImageBlob

    • Parameters

      • __namedParameters: {
            croppedAreaPercent: PercentCrop;
            fileType?: string;
            imgSrc: string;
            size?: { height: number; width: number };
        }
        • croppedAreaPercent: PercentCrop
        • OptionalfileType?: string
        • imgSrc: string
        • Optionalsize?: { height: number; width: number }

          If provided, the cropped image will be resized to the given size. If not provided, the cropped image will be the same size as the cropped portion of the source image.

      Returns Promise<Blob | null>