Skip to content

Commit 9a644f4

Browse files
authored
Increase image width and height limits to 5KP
Otherwise 4K Images cannot be processed, like the BBB Summit 2024 Group Picture (4032 × 3024) If the filesize is too big, no error is shown and a white image is displayed. TODO: Fix error handling in bbb-web
1 parent 1bdbe35 commit 9a644f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bbb-install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,10 +463,10 @@ main() {
463463
<policy domain="resource" name="list-length" value="16"/>
464464
<!-- Set the maximum width of an image. When this limit is exceeded, an
465465
exception is thrown. -->
466-
<policy domain="resource" name="width" value="4KP"/>
466+
<policy domain="resource" name="width" value="5KP"/>
467467
<!-- Set the maximum height of an image. When this limit is exceeded, an
468468
exception is thrown. -->
469-
<policy domain="resource" name="height" value="4KP"/>
469+
<policy domain="resource" name="height" value="5KP"/>
470470
<!-- Periodically yield the CPU for at least the time specified in
471471
milliseconds. -->
472472
<policy domain="resource" name="throttle" value="2"/>

0 commit comments

Comments
 (0)