forked from jmug/stoatchat
feat: compute thumbhash for images (#596)
* feat: compute thumbhash for images Signed-off-by: newt <hi@newty.dev> * Merge branch 'main' into feat/thumbhash Signed-off-by: newt <hi@newty.dev> * style: move comment onto newline Signed-off-by: newt <hi@newty.dev> * feat: make thumbhash optional Signed-off-by: newt <hi@newty.dev> --------- Signed-off-by: newt <hi@newty.dev> Signed-off-by: newt (: <hi@newty.dev> Signed-off-by: Tom <iamtomahawkx@gmail.com> Co-authored-by: Tom <iamtomahawkx@gmail.com>
This commit is contained in:
@@ -50,6 +50,7 @@ auto_derived!(
|
||||
Image {
|
||||
width: usize,
|
||||
height: usize,
|
||||
thumbhash: Option<Vec<u8>>,
|
||||
animated: bool,
|
||||
},
|
||||
/// File is a video with specific dimensions
|
||||
|
||||
Reference in New Issue
Block a user