mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-01-02 03:37:54 +02:00
Add raw file tests #127.
If a given platform supports these files, these extensions will stay in the supportedFormats list otherwise, they get removed.
This commit is contained in:
parent
7e4a982201
commit
2ba1e11a21
BIN
src/backend/model/diagnostics/image_formats/test.arw
Normal file
BIN
src/backend/model/diagnostics/image_formats/test.arw
Normal file
Binary file not shown.
BIN
src/backend/model/diagnostics/image_formats/test.dng
Normal file
BIN
src/backend/model/diagnostics/image_formats/test.dng
Normal file
Binary file not shown.
@ -1266,7 +1266,7 @@ export class ClientPhotoConfig {
|
||||
},
|
||||
description: $localize`Photo formats that are supported. Browser needs to support these formats natively. Also sharp (libvips) package should be able to convert these formats.`,
|
||||
})
|
||||
supportedFormats: string[] = ['gif', 'jpeg', 'jpg', 'jpe', 'png', 'webp', 'svg', 'avif', 'heic'];
|
||||
supportedFormats: string[] = ['gif', 'jpeg', 'jpg', 'jpe', 'png', 'webp', 'svg', 'avif', 'heic', 'dng', 'arw'];
|
||||
}
|
||||
|
||||
@SubConfigClass({tags: {client: true}, softReadonly: true})
|
||||
|
Loading…
Reference in New Issue
Block a user