Compress images in a separate process

Compression with Pillow can take long, especially with large
clipboard PNG images.
Doing this in a separate process prevents the async event loop from
getting blocked, and allows multiple compression operations to run in
parallel.
This commit is contained in:
miruka
2020-07-21 23:35:16 -04:00
parent 286b7a951a
commit 0088fadddd
3 changed files with 40 additions and 14 deletions

View File

@@ -4,7 +4,6 @@
- hflickable: support kinetic scrolling disabler
- settings
- compress png in a thread
- verify upload cancellation
- clipboard preview doesn't update when copied image changes until second time
- Avatar tooltip can get displayed in front of presence menu