mirror of
https://github.com/Screenly/Anthias.git
synced 2025-12-23 22:38:05 -05:00
fix: WebP images render as gray instead of the expected image (#2601)
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
export const getMimetype = (filename: string): string => {
|
||||
const viduris = ['rtsp', 'rtmp']
|
||||
const mimetypes = [
|
||||
[['jpe', 'jpg', 'jpeg', 'png', 'pnm', 'gif', 'bmp'], 'image'],
|
||||
[['jpe', 'jpg', 'jpeg', 'png', 'pnm', 'gif', 'bmp', 'webp'], 'image'],
|
||||
[['avi', 'mkv', 'mov', 'mpg', 'mpeg', 'mp4', 'ts', 'flv'], 'video'],
|
||||
]
|
||||
const domains = [[['www.youtube.com', 'youtu.be'], 'youtube_asset']]
|
||||
|
||||
@@ -231,6 +231,7 @@ def get_viewer_context(board: str) -> dict:
|
||||
[
|
||||
'qt6-base-dev',
|
||||
'qt6-webengine-dev',
|
||||
'qt6-image-formats-plugins',
|
||||
]
|
||||
)
|
||||
|
||||
@@ -241,6 +242,7 @@ def get_viewer_context(board: str) -> dict:
|
||||
'libgst-dev',
|
||||
'libsqlite0-dev',
|
||||
'libsrtp0-dev',
|
||||
'qt5-image-formats-plugins',
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user