Skip to content

Commit 56ec4a3

Browse files
Bashamegasaschanaz
andauthored
Add pixelFormat (#2320)
Co-authored-by: saschanaz <saschanaz@users.noreply.github.com>
1 parent e036768 commit 56ec4a3

17 files changed

+32
-7
lines changed

baselines/dom.generated.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,7 @@ interface ImageBitmapRenderingContextSettings {
921921

922922
interface ImageDataSettings {
923923
colorSpace?: PredefinedColorSpace;
924+
pixelFormat?: ImageDataPixelFormat;
924925
}
925926

926927
interface ImageDecodeOptions {
@@ -42563,6 +42564,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
4256342564
type IDBRequestReadyState = "done" | "pending";
4256442565
type IDBTransactionDurability = "default" | "relaxed" | "strict";
4256542566
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
42567+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
4256642568
type ImageOrientation = "flipY" | "from-image" | "none";
4256742569
type ImageSmoothingQuality = "high" | "low" | "medium";
4256842570
type InsertPosition = "afterbegin" | "afterend" | "beforebegin" | "beforeend";

baselines/serviceworker.generated.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ interface ImageBitmapRenderingContextSettings {
335335

336336
interface ImageDataSettings {
337337
colorSpace?: PredefinedColorSpace;
338+
pixelFormat?: ImageDataPixelFormat;
338339
}
339340

340341
interface ImageEncodeOptions {
@@ -11812,6 +11813,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
1181211813
type IDBRequestReadyState = "done" | "pending";
1181311814
type IDBTransactionDurability = "default" | "relaxed" | "strict";
1181411815
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
11816+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
1181511817
type ImageOrientation = "flipY" | "from-image" | "none";
1181611818
type ImageSmoothingQuality = "high" | "low" | "medium";
1181711819
type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";

baselines/sharedworker.generated.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ interface ImageBitmapRenderingContextSettings {
279279

280280
interface ImageDataSettings {
281281
colorSpace?: PredefinedColorSpace;
282+
pixelFormat?: ImageDataPixelFormat;
282283
}
283284

284285
interface ImageEncodeOptions {
@@ -11491,6 +11492,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
1149111492
type IDBRequestReadyState = "done" | "pending";
1149211493
type IDBTransactionDurability = "default" | "relaxed" | "strict";
1149311494
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
11495+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
1149411496
type ImageOrientation = "flipY" | "from-image" | "none";
1149511497
type ImageSmoothingQuality = "high" | "low" | "medium";
1149611498
type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";

baselines/ts5.5/dom.generated.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,7 @@ interface ImageBitmapRenderingContextSettings {
918918

919919
interface ImageDataSettings {
920920
colorSpace?: PredefinedColorSpace;
921+
pixelFormat?: ImageDataPixelFormat;
921922
}
922923

923924
interface ImageDecodeOptions {
@@ -42537,6 +42538,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
4253742538
type IDBRequestReadyState = "done" | "pending";
4253842539
type IDBTransactionDurability = "default" | "relaxed" | "strict";
4253942540
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
42541+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
4254042542
type ImageOrientation = "flipY" | "from-image" | "none";
4254142543
type ImageSmoothingQuality = "high" | "low" | "medium";
4254242544
type InsertPosition = "afterbegin" | "afterend" | "beforebegin" | "beforeend";

baselines/ts5.5/serviceworker.generated.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ interface ImageBitmapRenderingContextSettings {
332332

333333
interface ImageDataSettings {
334334
colorSpace?: PredefinedColorSpace;
335+
pixelFormat?: ImageDataPixelFormat;
335336
}
336337

337338
interface ImageEncodeOptions {
@@ -11809,6 +11810,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
1180911810
type IDBRequestReadyState = "done" | "pending";
1181011811
type IDBTransactionDurability = "default" | "relaxed" | "strict";
1181111812
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
11813+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
1181211814
type ImageOrientation = "flipY" | "from-image" | "none";
1181311815
type ImageSmoothingQuality = "high" | "low" | "medium";
1181411816
type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";

baselines/ts5.5/sharedworker.generated.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ interface ImageBitmapRenderingContextSettings {
276276

277277
interface ImageDataSettings {
278278
colorSpace?: PredefinedColorSpace;
279+
pixelFormat?: ImageDataPixelFormat;
279280
}
280281

281282
interface ImageEncodeOptions {
@@ -11488,6 +11489,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
1148811489
type IDBRequestReadyState = "done" | "pending";
1148911490
type IDBTransactionDurability = "default" | "relaxed" | "strict";
1149011491
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
11492+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
1149111493
type ImageOrientation = "flipY" | "from-image" | "none";
1149211494
type ImageSmoothingQuality = "high" | "low" | "medium";
1149311495
type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";

baselines/ts5.5/webworker.generated.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ interface ImageBitmapRenderingContextSettings {
422422

423423
interface ImageDataSettings {
424424
colorSpace?: PredefinedColorSpace;
425+
pixelFormat?: ImageDataPixelFormat;
425426
}
426427

427428
interface ImageDecodeOptions {
@@ -13496,6 +13497,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
1349613497
type IDBRequestReadyState = "done" | "pending";
1349713498
type IDBTransactionDurability = "default" | "relaxed" | "strict";
1349813499
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
13500+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
1349913501
type ImageOrientation = "flipY" | "from-image" | "none";
1350013502
type ImageSmoothingQuality = "high" | "low" | "medium";
1350113503
type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";

baselines/ts5.6/dom.generated.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,7 @@ interface ImageBitmapRenderingContextSettings {
918918

919919
interface ImageDataSettings {
920920
colorSpace?: PredefinedColorSpace;
921+
pixelFormat?: ImageDataPixelFormat;
921922
}
922923

923924
interface ImageDecodeOptions {
@@ -42560,6 +42561,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
4256042561
type IDBRequestReadyState = "done" | "pending";
4256142562
type IDBTransactionDurability = "default" | "relaxed" | "strict";
4256242563
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
42564+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
4256342565
type ImageOrientation = "flipY" | "from-image" | "none";
4256442566
type ImageSmoothingQuality = "high" | "low" | "medium";
4256542567
type InsertPosition = "afterbegin" | "afterend" | "beforebegin" | "beforeend";

baselines/ts5.6/serviceworker.generated.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ interface ImageBitmapRenderingContextSettings {
332332

333333
interface ImageDataSettings {
334334
colorSpace?: PredefinedColorSpace;
335+
pixelFormat?: ImageDataPixelFormat;
335336
}
336337

337338
interface ImageEncodeOptions {
@@ -11809,6 +11810,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
1180911810
type IDBRequestReadyState = "done" | "pending";
1181011811
type IDBTransactionDurability = "default" | "relaxed" | "strict";
1181111812
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
11813+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
1181211814
type ImageOrientation = "flipY" | "from-image" | "none";
1181311815
type ImageSmoothingQuality = "high" | "low" | "medium";
1181411816
type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";

baselines/ts5.6/sharedworker.generated.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ interface ImageBitmapRenderingContextSettings {
276276

277277
interface ImageDataSettings {
278278
colorSpace?: PredefinedColorSpace;
279+
pixelFormat?: ImageDataPixelFormat;
279280
}
280281

281282
interface ImageEncodeOptions {
@@ -11488,6 +11489,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
1148811489
type IDBRequestReadyState = "done" | "pending";
1148911490
type IDBTransactionDurability = "default" | "relaxed" | "strict";
1149011491
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
11492+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
1149111493
type ImageOrientation = "flipY" | "from-image" | "none";
1149211494
type ImageSmoothingQuality = "high" | "low" | "medium";
1149311495
type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";

0 commit comments

Comments
 (0)