openharmony 鸿蒙 arkts-apis-image-JfifMetadata

2026-08-25 浏览 (1)

Class (JfifMetadata)

JfifMetadata.

JFIF image metadata class, which is used to store image metadata.

Since: 26.0.0

Modules to Import

import { image } from '@kit.ImageKit';

Properties

Since: 26.0.0

Model restriction: This API can be used only in the stage model.

System capability: SystemCapability.Multimedia.Image.Core

NameTypeRead-OnlyOptionalDescription
densityUnitnumberYesYesPhysical unit of measurement for Xdensity (horizontal pixel density) and Ydensity (vertical pixel density).
- 0: no units (pixel aspect ratio only)
- 1: pixels per inch (DPI)
- 2: pixels per centimeter (DPC)
The value is a positive integer.
xDensitynumberYesYesPixel density in the X direction of the JFIF image.
The value is a positive integer.
yDensitynumberYesYesPixel density in the Y direction of the JFIF image.
The value is a positive integer.
isProgressivebooleanYesYesWhether the image uses progressive encoding, that is, the image gradually improves in clarity through multiple scans during loading. The value true indicates yes, and the value false indicates no.
versionnumber[]YesYesJFIF image version.

你可能感兴趣的鸿蒙文章

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/3JHhssPK