Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • jami-project jami-project
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 155
    • Issues 155
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • savoirfairelinux
  • jami-projectjami-project
  • Issues
  • #459

Closed
Open
Created May 13, 2018 by RingBot@RingBotOwner

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_2.9kb
mini_figure84x63_16colors_3.9KB.base64
mini_figure60x45_256colors5.8KB
mini_figure60x45_256colors_7.8KB.base64
mini_figure92x69_256colors_11.4KB
mini_figure92x69_256colors_15.4KB.base64

Assignee
Assign to
Time tracking