[Trac_gajim-plugins] [Gajim Plugins] #122: Autocompression and autoreduction

Gajim Plugins trac at gajim.org
Sat Mar 5 11:31:49 CET 2016


#122: Autocompression and autoreduction
----------------------------+-------------------------
  Reporter:  ilya-valeev@…  |      Owner:  Dicson
      Type:  enhancement    |     Status:  new
  Priority:  normal         |  Component:  ImagePlugin
Resolution:                 |   Keywords:
Blocked By:                 |   Blocking:
----------------------------+-------------------------

Comment (by anonymous):

 We can send it like a file, is not? Now we can not send full size image by
 image plugin because it limits file size.
 I suggest next algorithm:
 1. If file size < 60000, convert to base64 and check length
 2. If length or file size > 60000, reduce its size and compress it. For
 example, Psi autoresizes image with max 400 pixel of side, we can do a
 little bigger images.
 3. Convert to base64 and check length
 4. If length > 60000, compress it
 etc.

 P.S. Registering on trac-plugins.gajim.org is not working, "No handler
 matched request to /register"

--
Ticket URL: <http://trac-plugins.gajim.org/ticket/122#comment:2>
Gajim Plugins <http://trac-plugins.gajim.org/>
Gajim Plugins


More information about the Trac_gajim-plugins mailing list