fix(library): optimize TIF/TIFF file handling via embedded JPEG extraction to prevent RAM spikes and render thumbnails

This commit is contained in:
2026-10-05 10:26:59 +07:00
parent e63183b298
commit 1e93c8484b
3 changed files with 2 additions and 1 deletions
+1
View File
@@ -195,6 +195,7 @@ half4 main(float2 pos) {
const RAW_EXT = [
'arw', 'srf', 'sr2', 'cr2', 'cr3', 'crw', 'nef', 'nrw', 'dng', 'orf', 'raf',
'rw2', 'pef', 'srw', 'raw', 'rwl', '3fr', 'fff', 'iiq', 'mos', 'mrw', 'x3f',
'tif', 'tiff',
];
export const RAW_ACCEPT = RAW_EXT.map((e) => `.${e}`).join(',');