FunctiongenerateCroppedImageBlob

  • Parameters

    • __namedParameters: {
          croppedAreaPixels: Area;
          fileType?: string;
          imgSrc: string;
          size?: {
              height: number;
              width: number;
          };
      }
      • croppedAreaPixels: Area
      • 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.

        • height: number
        • width: number

    Returns Promise<null | Blob>