diff --git a/api/@ohos.multimedia.image.d.ts b/api/@ohos.multimedia.image.d.ts index f4ea2ebec64ac06b84d54b86a6f9f6d138c3910c..2f18d4ac83208b4d6635ac67038cecea14636a6a 100644 --- a/api/@ohos.multimedia.image.d.ts +++ b/api/@ohos.multimedia.image.d.ts @@ -7274,8 +7274,6 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the pixel map data. - * @throws { BusinessError } 7600301 - Memory alloc failed. - * @throws { BusinessError } 7600302 - Memory copy failed. * @syscap SystemCapability.Multimedia.Image.Core * @since 13 */ @@ -7495,8 +7491,6 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the metadata. - * @throws { BusinessError } 7600301 - Memory alloc failed. - * @throws { BusinessError } 7600302 - Memory copy failed. * @syscap SystemCapability.Multimedia.Image.Core * @since 13 */ @@ -8001,15 +7995,10 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the number. * @throws { BusinessError } 62980096 - The operation failed. Possible cause: 1.Image upload exception. * 2. Decoding process exception. 3. Insufficient memory. - * @throws { BusinessError } 62980110 - The image source data is incorrect. * @throws { BusinessError } 62980111 - The image source data is incomplete. * @throws { BusinessError } 62980112 - The image format does not match. * @throws { BusinessError } 62980113 - Unknown image format. @@ -8300,7 +8247,6 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } A Promise instance used to return the number. * @throws { BusinessError } 62980096 - The operation failed. Possible cause: 1.Image upload exception. * 2. Decoding process exception. 3. Insufficient memory. - * @throws { BusinessError } 62980110 - The image source data is incorrect. * @throws { BusinessError } 62980111 - The image source data is incomplete. * @throws { BusinessError } 62980112 - The image format does not match. * @throws { BusinessError } 62980113 - Unknown image format. @@ -8342,7 +8288,6 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } callback Callback used to return the number. * @throws { BusinessError } 62980096 - The operation failed. Possible cause: 1.Image upload exception. * 2. Decoding process exception. 3. Insufficient memory. - * @throws { BusinessError } 62980110 - The image source data is incorrect. * @throws { BusinessError } 62980111 - The image source data is incomplete. * @throws { BusinessError } 62980112 - The image format does not match. * @throws { BusinessError } 62980113 - Unknown image format. @@ -8401,7 +8346,6 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } encoded buffer. * @throws { BusinessError } 401 - Parameter error.Possible causes: 1.Mandatory parameters are left unspecified. * 2.Incorrect parameter types;3.Parameter verification failed. - * @throws { BusinessError } 7800201 - Unsupported packing options. * @throws { BusinessError } 7800301 - Failed to encode image. * @syscap SystemCapability.Multimedia.Image.ImagePacker * @since 18 @@ -9124,7 +9066,6 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise } void. * @throws { BusinessError } 401 - Parameter error.Possible causes: 1.Mandatory parameters are left unspecified. * 2.Incorrect parameter types;3.Parameter verification failed. - * @throws { BusinessError } 7800201 - Unsupported packing options. * @throws { BusinessError } 7800301 - Failed to encode image. * @syscap SystemCapability.Multimedia.Image.ImagePacker * @since 18