ScaledDownColourImageUnit
The ScaledDownColourImageUnit
class represents an intermediate result unit that contains scaled down color image. It is derived from the IntermediateResultUnit
class.
Definition
Module: dynamsoft_core
class ScaledDownColourImageUnit(IntermediateResultUnit)
Methods
Method | Description |
---|---|
get_image_data |
Gets the image data of the unit. |
set_image_data |
Sets the image data of the unit. |
get_image_data
Gets the image data of the unit.
def get_image_data(self) -> ImageData:
Return value
Returns an ImageData
object that contains the image data of the unit.
See Also
set_image_data
Sets the image data of the unit.
def set_image_data(self, img_data: ImageData) -> int:
Parameters
img_data
The image data to set.
Return value
Returns 0 if succeeds, nonzero otherwise.
See Also