basically recode images

This commit is contained in:
B. Petersen
2020-06-05 21:19:12 +02:00
parent 5d1623b98f
commit 191009372b
3 changed files with 48 additions and 1 deletions

View File

@@ -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;