iNormalizedImageResult
You are viewing a history document page of Dynamsoft Document Normalizer v1.0.30.
Stores the detected quad result.
- Objective-C
- Swift
@interface iNormalizedImageResult
class iNormalizedImageResult : NSObject
Attribute | Type | Descriptions |
---|---|---|
image |
iImageData* |
The normalized image in iImageData structure. |
Method | Descriptions |
---|---|
saveToFile |
Save the normalized image to a file. |
image
The location of the detected quad result.
- Objective-C
- Swift
iImageData* image;
var image: iImageData { get set }
saveToFile
Save the normalized image to a file.
- Objective-C
- Swift
-(BOOL)saveToFile:(NString*)filePath error:(NSError**)error
func saveToFile(_ filePath: String) throws
Parameters
[in] filePath
: The output file path of the normalized image.
[in,out] error
: Input a pointer to an error object. If an error occurs, this pointer is set to an actual error object containing the error information. You may specify nil for this parameter if you do not want the error information.
Remarks
- This method supports exporting bmp, jpeg, png, pdf formats.
- For non-pdf formats, if the file path already exists, this method will overwrite the existing file
- For pdf format, if the file path already exists, this method will append a new page with the image to the existing pdf file.