mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2025-12-11 20:15:30 +01:00
increase max file size for thubm generation
This commit is contained in:
parent
06e227d17a
commit
0ac05f46b3
@ -6,7 +6,7 @@ const MIB: u64 = 1_048_576;
|
|||||||
/// The maximum file size that an image can be in order to have a thumbnail generated.
|
/// The maximum file size that an image can be in order to have a thumbnail generated.
|
||||||
///
|
///
|
||||||
/// This value is in MiB.
|
/// This value is in MiB.
|
||||||
pub const MAXIMUM_FILE_SIZE: u64 = MIB * 192;
|
pub const MAXIMUM_FILE_SIZE: u64 = MIB * 1024;
|
||||||
|
|
||||||
/// These are roughly all extensions supported by the `image` crate, as of `v0.24.7`.
|
/// These are roughly all extensions supported by the `image` crate, as of `v0.24.7`.
|
||||||
///
|
///
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user