Class SBSDKImageProcessor
- Namespace
- ScanbotSDK.iOS
- Assembly
- DocumentSDK.NET.iOS.dll
public class SBSDKImageProcessor : NSObject
- Inheritance
-
SBSDKImageProcessor
Constructors
public SBSDKImageProcessor(CMSampleBuffer sampleBuffer)
Parameters
sampleBuffer
CMSampleBuffer
public SBSDKImageProcessor(CMSampleBuffer sampleBuffer, AVCaptureVideoOrientation videoOrientation)
Parameters
sampleBuffer
CMSampleBuffer
videoOrientation
AVCaptureVideoOrientation
SBSDKImageProcessor(NSObjectFlag)
protected SBSDKImageProcessor(NSObjectFlag t)
Parameters
t
NSObjectFlag
SBSDKImageProcessor(NSUrl)
public SBSDKImageProcessor(NSUrl imageURL)
Parameters
imageURL
NSUrl
SBSDKImageProcessor(NativeHandle)
protected SBSDKImageProcessor(NativeHandle handle)
Parameters
handle
NativeHandle
SBSDKImageProcessor(UIImage)
public SBSDKImageProcessor(UIImage image)
Parameters
image
UIImage
SBSDKImageProcessor(UIImage, bool)
public SBSDKImageProcessor(UIImage image, bool ignoreOrientation)
Parameters
image
UIImage
ignoreOrientation
bool
Properties
ClassHandle
public override NativeHandle ClassHandle { get; }
Property Value
- NativeHandle
ImageSize
public virtual CGSize ImageSize { get; }
Property Value
- CGSize
ProcessedImage
public virtual UIImage ProcessedImage { get; }
Property Value
- UIImage
Methods
ApplyFilter(SBSDKParametricFilter[])
public virtual void ApplyFilter(SBSDKParametricFilter[] filters)
Parameters
filters
SBSDKParametricFilter[]
Crop(SBSDKPolygon)
public virtual void Crop(SBSDKPolygon polygon)
Parameters
polygon
SBSDKPolygon
Resize(nuint)
public virtual void Resize(nuint size)
Parameters
size
nuint
Rotate(SBSDKImageRotation)
public virtual void Rotate(SBSDKImageRotation type)
Parameters
type
SBSDKImageRotation
public virtual bool WriteTo(NSUrl url, SBSDKImageFileFormat format, NFloat compression, out NSError? error)
Parameters
url
NSUrl
format
SBSDKImageFileFormat
compression
NFloat
error
NSError
Returns
- bool