TuSDKNKImageAutoColorAnalysis Class Reference

Inherits from NSObject
Declared in TuSDKNKImageAutoColorAnalysis.h

Overview

Image Auto Color Analysis

– reset

Reset if need Analysis again

- (void)reset

Declared In

TuSDKNKImageAutoColorAnalysis.h

– analysisWithImage:block:

analysis and procee auto color with image

- (void)analysisWithImage:(UIImage *)image block:(TuSDKNKImageAutoColorAnalysisBlock)block

Parameters

image

Image Object

block

Image Auto Color Analysis Block

Declared In

TuSDKNKImageAutoColorAnalysis.h

– copyAnalysisWithInput:output:block:

copy Analysis to input image file, need run analysisWithImage:block first

- (void)copyAnalysisWithInput:(NSString *)inputFile output:(NSString *)outputFile block:(TuSDKNKImageAutoColorAnalysisCopyBlock)block

Parameters

inputFile

input image file path

outputFile

output image file path

block

Image Auto Color Analysis Copy Block

Declared In

TuSDKNKImageAutoColorAnalysis.h

– analysisWithThumb:input:output:thumbBlock:copyBlock:

analysis and procee auto color with Thumb and image file

- (void)analysisWithThumb:(UIImage *)thumb input:(NSString *)input output:(NSString *)output thumbBlock:(TuSDKNKImageAutoColorAnalysisBlock)thumbBlock copyBlock:(TuSDKNKImageAutoColorAnalysisCopyBlock)copyBlock

Parameters

thumb

Image Thumb Object

input

input image file path

output

output image file path

thumbBlock

Image Auto Color Analysis Block

copyBlock

Image Auto Color Analysis Copy Block

Declared In

TuSDKNKImageAutoColorAnalysis.h