Skip to content

Latest commit

 

History

History
53 lines (43 loc) · 1.29 KB

File metadata and controls

53 lines (43 loc) · 1.29 KB
layout title description keywords needGenerateH3Content needAutoGenerateSidebar noTitleIndex
default-layout
DSGrayscaleImageUnit - Dynamsoft Core Module iOS Edition API Reference
The class DSGrayscaleImageUnit of Dynamsoft Core Module represents a unit that contains a grayscale image. It is derived from the DSIntermediateResultUnit class.
grayscale image unit, objective-c, swift
true
true
true

DSGrayscaleImageUnit

The DSGrayscaleImageUnit class represents a unit that contains a grayscale image. It is derived from the DSIntermediateResultUnit class.

Definition

Assembly: DynamsoftCore.framework

>- Objective-C >- Swift > >1. ```objc @interface DSGrayscaleImageUnit: DSIntermediateResultUnit ``` 2. ```swift class GrayscaleImageUnit: IntermediateResultUnit ```

Attributes

Attributes Type Description
imageData DSImageData * A DSImageData object as the image data of the grayscale image.

imageData

A DSImageData object as the image data of the grayscale image.

>- Objective-C >- Swift > >1. ```objc @property(nonatomic, strong, nullable) DSImageData *imageData; ``` 2. ```swift var imageData: ImageData? { get set } ```