add @deprecated to packing interface

Signed-off-by: y00656910 <yaoxingyu3@huawei.com>
Change-Id: I6f6cf7c5f0c69e7b0afe2f10ac7265d4bae4eafb
This commit is contained in:
y00656910 2024-11-13 11:40:09 +08:00
parent d0d4a37420
commit 7d5710bbf0

View File

@ -8316,6 +8316,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* @param { AsyncCallback<ArrayBuffer> } callback Callback used to return the packed data.
* @syscap SystemCapability.Multimedia.Image.ImagePacker
* @since 6
* @deprecated since 13
* @useinstead image.ImagePacker#packToData
*/
/**
* Compresses or packs an image and uses a callback to return the result.
@ -8326,6 +8328,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* @syscap SystemCapability.Multimedia.Image.ImagePacker
* @crossplatform
* @since 10
* @deprecated since 13
* @useinstead image.ImagePacker#packToData
*/
/**
* Compresses or packs an image and uses a callback to return the result.
@ -8337,6 +8341,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* @crossplatform
* @atomicservice
* @since 11
* @deprecated since 13
* @useinstead image.ImagePacker#packToData
*/
packing(source: ImageSource, option: PackingOption, callback: AsyncCallback<ArrayBuffer>): void;
@ -8348,6 +8354,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* @returns { Promise<ArrayBuffer> } A Promise instance used to return the compressed or packed data.
* @syscap SystemCapability.Multimedia.Image.ImagePacker
* @since 6
* @deprecated since 13
* @useinstead image.ImagePacker#packToData
*/
/**
* Compresses or packs an image and uses a promise to return the result.
@ -8358,6 +8366,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* @syscap SystemCapability.Multimedia.Image.ImagePacker
* @crossplatform
* @since 10
* @deprecated since 13
* @useinstead image.ImagePacker#packToData
*/
/**
* Compresses or packs an image and uses a promise to return the result.
@ -8369,6 +8379,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* @crossplatform
* @atomicservice
* @since 11
* @deprecated since 13
* @useinstead image.ImagePacker#packToData
*/
packing(source: ImageSource, option: PackingOption): Promise<ArrayBuffer>;
@ -8402,6 +8414,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* @param { AsyncCallback<ArrayBuffer> } callback Callback used to return the packed data.
* @syscap SystemCapability.Multimedia.Image.ImagePacker
* @since 8
* @deprecated since 13
* @useinstead image.ImagePacker#packToData
*/
/**
* Compresses or packs an image and uses a callback to return the result.
@ -8412,6 +8426,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* @syscap SystemCapability.Multimedia.Image.ImagePacker
* @crossplatform
* @since 10
* @deprecated since 13
* @useinstead image.ImagePacker#packToData
*/
/**
* Compresses or packs an image and uses a callback to return the result.
@ -8423,6 +8439,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* @crossplatform
* @atomicservice
* @since 11
* @deprecated since 13
* @useinstead image.ImagePacker#packToData
*/
packing(source: PixelMap, option: PackingOption, callback: AsyncCallback<ArrayBuffer>): void;
@ -8434,6 +8452,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* @returns { Promise<ArrayBuffer> } A Promise instance used to return the compressed or packed data.
* @syscap SystemCapability.Multimedia.Image.ImagePacker
* @since 8
* @deprecated since 13
* @useinstead image.ImagePacker#packToData
*/
/**
* Compresses or packs an image and uses a promise to return the result.
@ -8444,6 +8464,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* @syscap SystemCapability.Multimedia.Image.ImagePacker
* @crossplatform
* @since 10
* @deprecated since 13
* @useinstead image.ImagePacker#packToData
*/
/**
* Compresses or packs an image and uses a promise to return the result.
@ -8455,6 +8477,8 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise<vo
* @crossplatform
* @atomicservice
* @since 11
* @deprecated since 13
* @useinstead image.ImagePacker#packToData
*/
packing(source: PixelMap, option: PackingOption): Promise<ArrayBuffer>;