Add the ability to parse workflows from AVIF images (#4420)

This commit is contained in:
Ferrah Aiko
2025-07-24 03:20:39 -03:00
committed by GitHub
parent b240c090aa
commit 37bfc53616
7 changed files with 486 additions and 3 deletions

View File

@@ -6,8 +6,8 @@
* All supported image formats that can contain workflow data
*/
export const IMAGE_WORKFLOW_FORMATS = {
extensions: ['.png', '.webp', '.svg'],
mimeTypes: ['image/png', 'image/webp', 'image/svg+xml']
extensions: ['.png', '.webp', '.svg', '.avif'],
mimeTypes: ['image/png', 'image/webp', 'image/svg+xml', 'image/avif']
}
/**