add option for sending images as thumbnails fitting into OpenDHT-storage
Issue generated from Tuleap's migration script. Originally submitted by: honk (honk)
Text messages can be stored in the OpenDHT with all the known benefits (especially real offline messaging)
BUT for pictures there is no distributed real offline messaging possible yet because of the limitation of the hash table size: https://blog.savoirfairelinux.com/en-ca/2015/ring-opendht-a-distributed-hash-table/
I understand that this limitation makes sense for keeping the DHT as small as possible.
SOLUTION:
1. Add an option in UI for sending pictures as very small thumbnails via OpenDHT (see attachments).
2. Add a fallback request: If somebody trys to send a picture but the recipient is offline, RING should ask him after a delay of a few seconds, if he wants to send a thumbnail of the picture via OpenDHT instead.
I created some thumbnails with 2,9KB; 5,8KB and 11,4KB. If you must convert these to BASE64 the required storage amount is a little bit higher 3,9KB; 7,8KB; 15,4KB. (The old patent-free BMP-format seems to be the right choose for getting really small thumbnails)
This enhancement would not just make real offline messaging possible for pictures it would safe the expensive data volume of mobile devices (Android, iOS)
mini_figure84x63_16colors_3.9KB.base64
mini_figure60x45_256colors_7.8KB.base64
mini_figure92x69_256colors_15.4KB.base64