openharmony 鸿蒙 capi-image-nativemodule-image-positionarea

2026-08-25 浏览 (1)

Image_PositionArea

typedef struct Image_PositionArea {...} Image_PositionArea

Overview

The struct describes the area of image pixels to be read from or written to.

Since: 22

Related module: Image_NativeModule

Header file: image_common.h

Summary

Member Variables

NameDescription
uint8_t *pixelsPointer to the image pixel data for reading or writing. Only pixel data in the BRGA_8888 format is supported.
size_t pixelsSizeLength of the pixel data, in bytes.
uint32_t offsetOffset for reading or writing data, in bytes.
uint32_t strideStride of the region, that is, the number of bytes occupied by each row of pixels. The value of stride must be greater than or equal to the value of region.size.width multiplied by 4.
Image_Region regionArea for reading or writing. The region's width plus the X coordinate must not exceed the original image's width, and the region's height plus the Y coordinate must not exceed the original image's height.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-image-nativemodule-oh-pixelmap-hdrmetadatavalue

openharmony 鸿蒙 capi-image-imagepacker-opts-

openharmony 鸿蒙 capi-image-nativemodule-image-region

openharmony 鸿蒙 capi-image-imagepacker-native-

openharmony 鸿蒙 capi-image-imagenative-

openharmony 鸿蒙 capi-image-processing-h

openharmony 鸿蒙 capi-image-ohosimagesourcesupportedformat

openharmony 鸿蒙 capi-image-nativemodule-image-size

openharmony 鸿蒙 capi-image-mdk-h

openharmony 鸿蒙 capi-image-ohosimagesourcedelaytimelist

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/pCmV9IU9