Types

NOTE

The initial APIs of this module are supported since API version 23. Newly added APIs will be marked with a superscript to indicate their earliest API version.

ImageType

type ImageType = image.Image | image.Picture

Defines the image container type, which is used to obtain full-quality images or uncompressed images (YUV).

Atomic service API: This API can be used in atomic services since API version 23.

System capability: SystemCapability.Multimedia.Camera.Core

Type Description
image.Image Image container type that obtains full-quality images.
image.Picture Image container type that obtains uncompressed images (YUV).