mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-05-26 02:29:59 +08:00
feat: Support processing RAW format images #17
This commit is contained in:
@@ -7,7 +7,7 @@ export const descriptor: AppDescriptor = {
|
||||
supported: (entry) => {
|
||||
if (entry.is_dir) return false;
|
||||
const ext = entry.name.split('.').pop()?.toLowerCase() || '';
|
||||
return ['png', 'jpg', 'jpeg', 'gif', 'webp', 'svg', 'bmp', 'ico', 'avif'].includes(ext);
|
||||
return ['png', 'jpg', 'jpeg', 'gif', 'webp', 'svg', 'bmp', 'ico', 'avif', 'arw', 'cr2', 'cr3', 'nef', 'rw2', 'orf', 'pef', 'dng'].includes(ext);
|
||||
},
|
||||
component: ImageViewerApp,
|
||||
default: true,
|
||||
|
||||
Reference in New Issue
Block a user