diff --git a/zh-cn/application-dev/reference/apis/js-apis-image.md b/zh-cn/application-dev/reference/apis/js-apis-image.md index 14e4901837e80eb0f1663a8a175c08a710adf47b..47a3eaf9d039701fdcc878ea9fef5d42ddf4158e 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-image.md +++ b/zh-cn/application-dev/reference/apis/js-apis-image.md @@ -1966,10 +1966,22 @@ createPixelMapList(options?: DecodingOptions): Promise> | 错误码ID | 错误信息 | | ------- | --------------------------------------------| | 62980096| If the operation failed | +| 62980099 | If the shared memory data abnormal | +| 62980101 | If the image data abnormal | | 62980103| If the image data unsupport | +| 62980106 | If the image too large | +| 62980109 | If the image crop failed | | 62980110| If the image source data error | | 62980111| If the image source data incomplete | +| 62980112 | If the image format mismatch | +| 62980113 | If the image format unknown | +| 62980115 | If the image invalid parameter | +| 62980116 | If the image decode failed | | 62980118| If the image plugin create failed | +| 62980122 | If the image decode head abnormal | +| 62980137 | If the media invalid operation | +| 62980173 | If the DMA memory not exist | +| 62980174 | If the DMA memory data abnormal | **示例:** @@ -2010,11 +2022,23 @@ createPixelMapList(callback: AsyncCallback>): void | 错误码ID | 错误信息 | | ------- | --------------------------------------------| -| 62980096| If the operation failed | -| 62980103| If the image data unsupport | -| 62980110| If the image source data error | -| 62980111| If the image source data incomplete | -| 62980118| If the image plugin create failed | +| 62980096 | If the operation failed | +| 62980099 | If the shared memory data abnormal | +| 62980101 | If the image data abnormal | +| 62980103 | If the image data unsupport | +| 62980106 | If the image too large | +| 62980109 | If the image crop failed | +| 62980110 | If the image source data error | +| 62980111 | If the image source data incomplete | +| 62980112 | If the image format mismatch | +| 62980113 | If the image format unknown | +| 62980115 | If the image invalid parameter | +| 62980116 | If the image decode failed | +| 62980118 | If the image plugin create failed | +| 62980122 | If the image decode head abnormal | +| 62980137 | If the media invalid operation | +| 62980173 | If the DMA memory not exist | +| 62980174 | If the DMA memory data abnormal | **示例:** @@ -2050,11 +2074,23 @@ createPixelMapList(options: DecodingOptions, callback: AsyncCallback>): void -获取图像延迟时间数组,使用callback形式返回结果。 +获取图像延迟时间数组,使用callback形式返回结果。此接口仅用于gif图片。 **系统能力:** SystemCapability.Multimedia.Image.ImageSource @@ -2100,10 +2136,14 @@ getDelayTimeList(callback: AsyncCallback>): void | 62980096| If the operation failed | | 62980110| If the image source data error | | 62980111| If the image source data incomplete | -| 62980113| If the image format unknown | -| 62980116| If the image decode failed | -| 62980118| If the image plugin create failed | -| 62980122| If the image decode head abnormal | +| 62980112 | If the image format mismatch | +| 62980113| If the image format unknown | +| 62980115 | If the image invalid parameter | +| 62980116| If the image decode failed | +| 62980118| If the image plugin create failed | +| 62980122| If the image decode head abnormal | +| 62980137 | If the media invalid operation | +| 62980149 | If the media invalid parameter | **示例:** @@ -2122,7 +2162,7 @@ imageSourceApi.getDelayTimeList((err: BusinessError, delayTimes: Array) getDelayTimeList(): Promise> -获取图像延迟时间数组,使用Promise形式返回结果。 +获取图像延迟时间数组,使用Promise形式返回结果。此接口仅用于gif图片。 **系统能力:** SystemCapability.Multimedia.Image.ImageSource @@ -2138,13 +2178,17 @@ getDelayTimeList(): Promise> | 错误码ID | 错误信息 | | ------- | --------------------------------------------| -| 62980096| If the operation failed | -| 62980110| If the image source data error | -| 62980111| If the image source data incomplete | -| 62980113| If the image format unknown | -| 62980116| If the image decode failed | -| 62980118| If the image plugin create failed | -| 62980122| If the image decode head abnormal | +| 62980096 | If the operation failed | +| 62980110 | If the image source data error | +| 62980111 | If the image source data incomplete | +| 62980112 | If the image format mismatch | +| 62980113 | If the image format unknown | +| 62980115 | If the image invalid parameter | +| 62980116 | If the image decode failed | +| 62980118 | If the image plugin create failed | +| 62980122 | If the image decode head abnormal | +| 62980137 | If the media invalid operation | +| 62980149 | If the media invalid parameter | **示例:** @@ -2177,12 +2221,15 @@ getFrameCount(callback: AsyncCallback\): void | 错误码ID | 错误信息 | | ------- | --------------------------------------------| | 62980096| If the operation failed | -| 62980110| If the image source data error | -| 62980111| If the image source data incomplete | -| 62980113| If the image format unknown | -| 62980116| If the image decode failed | -| 62980118| If the image plugin create failed | -| 62980122| If the image decode head abnormal | +| 62980110| If the image source data error | +| 62980111| If the image source data incomplete | +| 62980112 | If the image format mismatch | +| 62980113| If the image format unknown | +| 62980115 | If the image invalid parameter | +| 62980116| If the image decode failed | +| 62980118| If the image plugin create failed | +| 62980122| If the image decode head abnormal | +| 62980137 | If the media invalid operation | **示例:** @@ -2217,13 +2264,16 @@ getFrameCount(): Promise\ | 错误码ID | 错误信息 | | ------- | --------------------------------------------| -| 62980096| If the operation failed | -| 62980110| If the image source data error | -| 62980111| If the image source data incomplete | -| 62980113| If the image format unknown | -| 62980116| If the image decode failed | -| 62980118| If the image plugin create failed | -| 62980122| If the image decode head abnormal | +| 62980096 | If the operation failed | +| 62980110 | If the image source data error | +| 62980111 | If the image source data incomplete | +| 62980112 | If the image format mismatch | +| 62980113 | If the image format unknown | +| 62980115 | If the image invalid parameter | +| 62980116 | If the image decode failed | +| 62980118 | If the image plugin create failed | +| 62980122 | If the image decode head abnormal | +| 62980137 | If the media invalid operation | **示例:**