mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 13:56:30 +03:00
basically recode images
This commit is contained in:
@@ -227,6 +227,12 @@ pub const DC_BOB_SUCCESS: i32 = 1;
|
||||
// max. width/height of an avatar
|
||||
pub const AVATAR_SIZE: u32 = 192;
|
||||
|
||||
// max. width/height of images
|
||||
pub const BALANCED_IMAGE_SIZE: u32 = 1280;
|
||||
pub const BALANCED_IMAGE_QUALITY: u32 = 85;
|
||||
pub const WORSE_IMAGE_SIZE: u32 = 640;
|
||||
pub const WORSE_IMAGE_QUALITY: u32 = 75;
|
||||
|
||||
// this value can be increased if the folder configuration is changed and must be redone on next program start
|
||||
pub const DC_FOLDERS_CONFIGURED_VERSION: i32 = 3;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user