documentImageSizeLimit property
documentImageSizeLimit the maximum size of the cropped document image to be saved. If the image is larger than the specified size it will be downscaled. If originalImageSizeLimit is set it also limits the size of the cropped document image. By default not specified.
Implementation
Size? documentImageSizeLimit;