Skip to content

Commit 26598e7

Browse files
committed
feat: expand imageFormat type to include additional image formats
1 parent 134d346 commit 26598e7

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

frontend/editor/src/core/types/toolApiTypes.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,20 @@ export interface ConvertToImageRequest {
351351
/**
352352
* The output image format
353353
*/
354-
imageFormat?: "png" | "jpeg" | "jpg" | "gif" | "webp";
354+
imageFormat?:
355+
| "png"
356+
| "jpeg"
357+
| "jpg"
358+
| "gif"
359+
| "bmp"
360+
| "tiff"
361+
| "tif"
362+
| "webp"
363+
| "heic"
364+
| "heif"
365+
| "avif"
366+
| "jxl"
367+
| "jp2";
355368
/**
356369
* Include annotations such as comments in the output image(s)
357370
*/

0 commit comments

Comments
 (0)