openharmony 鸿蒙 js-apidiff-ImageKit

2026-08-25 浏览 (1)

Change TypeOld VersionNew Versiond.ts File
API deprecated version changeClass name: ImagePacker;
API declaration: packing(source: ImageSource, option: PackingOption, callback: AsyncCallback<ArrayBuffer>): void;
Differences: NA
Class name: ImagePacker;
API declaration: packing(source: ImageSource, option: PackingOption, callback: AsyncCallback<ArrayBuffer>): void;
Differences: 13
api/@ohos.multimedia.image.d.ts
API deprecated version changeClass name: ImagePacker;
API declaration: packing(source: ImageSource, option: PackingOption): Promise<ArrayBuffer>;
Differences: NA
Class name: ImagePacker;
API declaration: packing(source: ImageSource, option: PackingOption): Promise<ArrayBuffer>;
Differences: 13
api/@ohos.multimedia.image.d.ts
API deprecated version changeClass name: ImagePacker;
API declaration: packing(source: PixelMap, option: PackingOption, callback: AsyncCallback<ArrayBuffer>): void;
Differences: NA
Class name: ImagePacker;
API declaration: packing(source: PixelMap, option: PackingOption, callback: AsyncCallback<ArrayBuffer>): void;
Differences: 13
api/@ohos.multimedia.image.d.ts
API deprecated version changeClass name: ImagePacker;
API declaration: packing(source: PixelMap, option: PackingOption): Promise<ArrayBuffer>;
Differences: NA
Class name: ImagePacker;
API declaration: packing(source: PixelMap, option: PackingOption): Promise<ArrayBuffer>;
Differences: 13
api/@ohos.multimedia.image.d.ts
New error codeClass name: ImagePacker;
API declaration: packToFile(source: ImageSource, fd: number, options: PackingOption, callback: AsyncCallback<void>): void;
Differences: NA
Class name: ImagePacker;
API declaration: packToFile(source: ImageSource, fd: number, options: PackingOption, callback: AsyncCallback<void>): void;
Differences: 62980096,62980101,62980106,62980113,62980115,62980119,62980120,62980172,62980252
api/@ohos.multimedia.image.d.ts
New error codeClass name: ImagePacker;
API declaration: packToFile(source: ImageSource, fd: number, options: PackingOption): Promise<void>;
Differences: NA
Class name: ImagePacker;
API declaration: packToFile(source: ImageSource, fd: number, options: PackingOption): Promise<void>;
Differences: 62980096,62980101,62980106,62980113,62980115,62980119,62980120,62980172,62980252
api/@ohos.multimedia.image.d.ts
New error codeClass name: ImagePacker;
API declaration: packToFile(source: PixelMap, fd: number, options: PackingOption, callback: AsyncCallback<void>): void;
Differences: NA
Class name: ImagePacker;
API declaration: packToFile(source: PixelMap, fd: number, options: PackingOption, callback: AsyncCallback<void>): void;
Differences: 62980096,62980101,62980106,62980113,62980115,62980119,62980120,62980172,62980252
api/@ohos.multimedia.image.d.ts
New error codeClass name: ImagePacker;
API declaration: packToFile(source: PixelMap, fd: number, options: PackingOption): Promise<void>;
Differences: NA
Class name: ImagePacker;
API declaration: packToFile(source: PixelMap, fd: number, options: PackingOption): Promise<void>;
Differences: 62980096,62980101,62980106,62980113,62980115,62980119,62980120,62980172,62980252
api/@ohos.multimedia.image.d.ts
New APINAClass name: PixelMap;
API declaration: setMemoryNameSync(name: string): void;
Differences: setMemoryNameSync(name: string): void;
api/@ohos.multimedia.image.d.ts
New APINAClass name: image;
API declaration: interface Picture
Differences: interface Picture
api/@ohos.multimedia.image.d.ts
New APINAClass name: Picture;
API declaration: getMainPixelmap(): PixelMap;
Differences: getMainPixelmap(): PixelMap;
api/@ohos.multimedia.image.d.ts
New APINAClass name: Picture;
API declaration: getHdrComposedPixelmap(): Promise<PixelMap>;
Differences: getHdrComposedPixelmap(): Promise<PixelMap>;
api/@ohos.multimedia.image.d.ts
New APINAClass name: Picture;
API declaration: getGainmapPixelmap(): PixelMap |null;
Differences: getGainmapPixelmap(): PixelMap |null;
api/@ohos.multimedia.image.d.ts
New APINAClass name: Picture;
API declaration: setAuxiliaryPicture(type: AuxiliaryPictureType, auxiliaryPicture: AuxiliaryPicture): void;
Differences: setAuxiliaryPicture(type: AuxiliaryPictureType, auxiliaryPicture: AuxiliaryPicture): void;
api/@ohos.multimedia.image.d.ts
New APINAClass name: Picture;
API declaration: getAuxiliaryPicture(type: AuxiliaryPictureType): AuxiliaryPicture |null;
Differences: getAuxiliaryPicture(type: AuxiliaryPictureType): AuxiliaryPicture |null;
api/@ohos.multimedia.image.d.ts
New APINAClass name: Picture;
API declaration: setMetadata(metadataType: MetadataType, metadata: Metadata): Promise<void>;
Differences: setMetadata(metadataType: MetadataType, metadata: Metadata): Promise<void>;
api/@ohos.multimedia.image.d.ts
New APINAClass name: Picture;
API declaration: getMetadata(metadataType: MetadataType): Promise<Metadata>;
Differences: getMetadata(metadataType: MetadataType): Promise<Metadata>;
api/@ohos.multimedia.image.d.ts
New APINAClass name: Picture;
API declaration: marshalling(sequence: rpc.MessageSequence): void;
Differences: marshalling(sequence: rpc.MessageSequence): void;
api/@ohos.multimedia.image.d.ts
New APINAClass name: Picture;
API declaration: release(): void;
Differences: release(): void;
api/@ohos.multimedia.image.d.ts
New APINAClass name: image;
API declaration: function createPicture(mainPixelmap: PixelMap): Picture;
Differences: function createPicture(mainPixelmap: PixelMap): Picture;
api/@ohos.multimedia.image.d.ts
New APINAClass name: image;
API declaration: function createPictureFromParcel(sequence: rpc.MessageSequence): Picture;
Differences: function createPictureFromParcel(sequence: rpc.MessageSequence): Picture;
api/@ohos.multimedia.image.d.ts
New APINAClass name: image;
API declaration: function createAuxiliaryPicture(buffer: ArrayBuffer, size: Size, type: AuxiliaryPictureType): AuxiliaryPicture;
Differences: function createAuxiliaryPicture(buffer: ArrayBuffer, size: Size, type: AuxiliaryPictureType): AuxiliaryPicture;
api/@ohos.multimedia.image.d.ts
New APINAClass name: image;
API declaration: interface AuxiliaryPicture
Differences: interface AuxiliaryPicture
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPicture;
API declaration: writePixelsFromBuffer(data: ArrayBuffer): Promise<void>;
Differences: writePixelsFromBuffer(data: ArrayBuffer): Promise<void>;
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPicture;
API declaration: readPixelsToBuffer(): Promise<ArrayBuffer>;
Differences: readPixelsToBuffer(): Promise<ArrayBuffer>;
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPicture;
API declaration: getType(): AuxiliaryPictureType;
Differences: getType(): AuxiliaryPictureType;
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPicture;
API declaration: setMetadata(metadataType: MetadataType, metadata: Metadata): Promise<void>;
Differences: setMetadata(metadataType: MetadataType, metadata: Metadata): Promise<void>;
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPicture;
API declaration: getMetadata(metadataType: MetadataType): Promise<Metadata>;
Differences: getMetadata(metadataType: MetadataType): Promise<Metadata>;
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPicture;
API declaration: getAuxiliaryPictureInfo(): AuxiliaryPictureInfo;
Differences: getAuxiliaryPictureInfo(): AuxiliaryPictureInfo;
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPicture;
API declaration: setAuxiliaryPictureInfo(info: AuxiliaryPictureInfo): void;
Differences: setAuxiliaryPictureInfo(info: AuxiliaryPictureInfo): void;
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPicture;
API declaration: release(): void;
Differences: release(): void;
api/@ohos.multimedia.image.d.ts
New APINAClass name: image;
API declaration: enum AuxiliaryPictureType
Differences: enum AuxiliaryPictureType
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPictureType;
API declaration: GAINMAP = 1
Differences: GAINMAP = 1
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPictureType;
API declaration: DEPTH_MAP = 2
Differences: DEPTH_MAP = 2
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPictureType;
API declaration: UNREFOCUS_MAP = 3
Differences: UNREFOCUS_MAP = 3
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPictureType;
API declaration: LINEAR_MAP = 4
Differences: LINEAR_MAP = 4
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPictureType;
API declaration: FRAGMENT_MAP = 5
Differences: FRAGMENT_MAP = 5
api/@ohos.multimedia.image.d.ts
New APINAClass name: image;
API declaration: enum MetadataType
Differences: enum MetadataType
api/@ohos.multimedia.image.d.ts
New APINAClass name: MetadataType;
API declaration: EXIF_METADATA = 1
Differences: EXIF_METADATA = 1
api/@ohos.multimedia.image.d.ts
New APINAClass name: MetadataType;
API declaration: FRAGMENT_METADATA = 2
Differences: FRAGMENT_METADATA = 2
api/@ohos.multimedia.image.d.ts
New APINAClass name: image;
API declaration: interface Metadata
Differences: interface Metadata
api/@ohos.multimedia.image.d.ts
New APINAClass name: Metadata;
API declaration: getProperties(key: Array<string>): Promise<Record<string, string |null>>;
Differences: getProperties(key: Array<string>): Promise<Record<string, string |null>>;
api/@ohos.multimedia.image.d.ts
New APINAClass name: Metadata;
API declaration: setProperties(records: Record<string, string |null>): Promise<void>;
Differences: setProperties(records: Record<string, string |null>): Promise<void>;
api/@ohos.multimedia.image.d.ts
New APINAClass name: Metadata;
API declaration: getAllProperties(): Promise<Record<string, string |null>>;
Differences: getAllProperties(): Promise<Record<string, string |null>>;
api/@ohos.multimedia.image.d.ts
New APINAClass name: Metadata;
API declaration: clone(): Promise<Metadata>;
Differences: clone(): Promise<Metadata>;
api/@ohos.multimedia.image.d.ts
New APINAClass name: image;
API declaration: enum FragmentMapPropertyKey
Differences: enum FragmentMapPropertyKey
api/@ohos.multimedia.image.d.ts
New APINAClass name: FragmentMapPropertyKey;
API declaration: X_IN_ORIGINAL = 'XInOriginal'
Differences: X_IN_ORIGINAL = 'XInOriginal'
api/@ohos.multimedia.image.d.ts
New APINAClass name: FragmentMapPropertyKey;
API declaration: Y_IN_ORIGINAL = 'YInOriginal'
Differences: Y_IN_ORIGINAL = 'YInOriginal'
api/@ohos.multimedia.image.d.ts
New APINAClass name: FragmentMapPropertyKey;
API declaration: WIDTH = 'FragmentImageWidth'
Differences: WIDTH = 'FragmentImageWidth'
api/@ohos.multimedia.image.d.ts
New APINAClass name: FragmentMapPropertyKey;
API declaration: HEIGHT = 'FragmentImageHeight'
Differences: HEIGHT = 'FragmentImageHeight'
api/@ohos.multimedia.image.d.ts
New APINAClass name: image;
API declaration: interface DecodingOptionsForPicture
Differences: interface DecodingOptionsForPicture
api/@ohos.multimedia.image.d.ts
New APINAClass name: DecodingOptionsForPicture;
API declaration: desiredAuxiliaryPictures: Array<AuxiliaryPictureType>;
Differences: desiredAuxiliaryPictures: Array<AuxiliaryPictureType>;
api/@ohos.multimedia.image.d.ts
New APINAClass name: image;
API declaration: interface AuxiliaryPictureInfo
Differences: interface AuxiliaryPictureInfo
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPictureInfo;
API declaration: auxiliaryPictureType: AuxiliaryPictureType;
Differences: auxiliaryPictureType: AuxiliaryPictureType;
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPictureInfo;
API declaration: size: Size;
Differences: size: Size;
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPictureInfo;
API declaration: rowStride: number;
Differences: rowStride: number;
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPictureInfo;
API declaration: pixelFormat: PixelMapFormat;
Differences: pixelFormat: PixelMapFormat;
api/@ohos.multimedia.image.d.ts
New APINAClass name: AuxiliaryPictureInfo;
API declaration: colorSpace: colorSpaceManager.ColorSpaceManager;
Differences: colorSpace: colorSpaceManager.ColorSpaceManager;
api/@ohos.multimedia.image.d.ts
New APINAClass name: ImageSource;
API declaration: createPicture(options?: DecodingOptionsForPicture): Promise<Picture>;
Differences: createPicture(options?: DecodingOptionsForPicture): Promise<Picture>;
api/@ohos.multimedia.image.d.ts
New APINAClass name: ImagePacker;
API declaration: packToData(source: ImageSource, options: PackingOption): Promise<ArrayBuffer>;
Differences: packToData(source: ImageSource, options: PackingOption): Promise<ArrayBuffer>;
api/@ohos.multimedia.image.d.ts
New APINAClass name: ImagePacker;
API declaration: packToData(source: PixelMap, options: PackingOption): Promise<ArrayBuffer>;
Differences: packToData(source: PixelMap, options: PackingOption): Promise<ArrayBuffer>;
api/@ohos.multimedia.image.d.ts
New APINAClass name: ImageReceiver;
API declaration: off(type: 'imageArrival', callback?: AsyncCallback<void>): void;
Differences: off(type: 'imageArrival', callback?: AsyncCallback<void>): void;
api/@ohos.multimedia.image.d.ts
New APINAClass name: ImageCreator;
API declaration: off(type: 'imageRelease', callback?: AsyncCallback<void>): void;
Differences: off(type: 'imageRelease', callback?: AsyncCallback<void>): void;
api/@ohos.multimedia.image.d.ts

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 js-apidiff-ArkGraphics2D

openharmony 鸿蒙 js-apidiff-MediaKit

openharmony 鸿蒙 js-apidiff-InputKit

openharmony 鸿蒙 js-apidiff-BasicServicesKit

openharmony 鸿蒙 js-apidiff-ConnectivityKit

openharmony 鸿蒙 js-apidiff-ArkWeb

openharmony 鸿蒙 js-apidiff-ArkData

openharmony 鸿蒙 js-apidiff-ArkTS

openharmony 鸿蒙 js-apidiff-MediaLibraryKit

openharmony 鸿蒙 Readme-EN

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