From bf123b9ec0190df62ef8f3bdd62f1d5b47258ef1 Mon Sep 17 00:00:00 2001 From: Bean Date: Wed, 17 Jan 2024 00:31:25 +0800 Subject: [PATCH] Support CIFF & SPIFF jpeg format --- src/modules/addimage.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/addimage.js b/src/modules/addimage.js index 3a93f5e29..1842316a2 100644 --- a/src/modules/addimage.js +++ b/src/modules/addimage.js @@ -82,6 +82,8 @@ import { atob, btoa } from "../libs/AtobBtoa.js"; 0x00, 0x00 ], //Exif + [0xff, 0xd8, 0xff, 0xe2], //Canon Camera Image File Format (CIFF) + [0xff, 0xd8, 0xff, 0xe8, undefined, undefined, 0x53, 0x50, 0x49, 0x46, 0x46, 0x00], // Still Picture Interchange File Format (SPIFF) [0xff, 0xd8, 0xff, 0xdb], //JPEG RAW [0xff, 0xd8, 0xff, 0xee] //EXIF RAW ],