diff --git a/api/@ohos.multimedia.image.d.ts b/api/@ohos.multimedia.image.d.ts index 65779cca79da6c6ed0e952131728a86a8291afd2..860cf9d1b75cd95191383a83c4e00629f5a75771 100644 --- a/api/@ohos.multimedia.image.d.ts +++ b/api/@ohos.multimedia.image.d.ts @@ -7211,6 +7211,24 @@ function createUnpremultipliedPixelMap(src: PixelMap, dst: PixelMap): Promise} Returns the Picture object. + * @throws {BusinessError} 7600201 - Unsupported operation. HdrPixelMap's PixelMapFormat is not + * RGBA_F16\RGBA_1010102\YCBCR_P010, Or its color space is not BT2020_HLG. Or sdrPixelMap's PixelMapFormat is not + * RGBA_8888\NV21\NV12, or its color space is not P3. + * @syscap SystemCapability.Multimedia.Image.Core + * @systemapi + * @since 20 + */ + function createPictureByHdrAndSdrPixelMap(hdrPixelMap: PixelMap, sdrPixelMap: PixelMap): Promise; + /** * Creates a Picture object based on MessageSequence parameter. *