CroppedImageSettings
data class CroppedImageSettings(var dotsPerInch: UShort, @FloatRange(from = 0.0, to = 1.0) var extensionFactor: Float = 0.0f, var returnCardImage: Boolean = false) : Parcelable
Represents the image cropping settings.
This class controls how card images are cropped, including the resolution, extension of the cropping area, and whether the cropped image should be returned in the results.
Constructors
Link copied to clipboard
constructor(dotsPerInch: UShort, @FloatRange(from = 0.0, to = 1.0) extensionFactor: Float = 0.0f, returnCardImage: Boolean = false)
Properties
Link copied to clipboard
The DPI value for the cropped image. Defaults to 250.
Link copied to clipboard
The extension factor for the cropped card image. Value must be in range \[0.0, 1.0\]. Defaults to 0.0.
Link copied to clipboard
Indicates whether the cropped card image should be returned. Provides the complete card image for record keeping or further processing. Disable to reduce memory usage if image is not needed. Defaults to false.