ubports / telegram-app

Unofficial Telegram App for Ubuntu Desktop & Mobile
GNU General Public License v3.0
55 stars 23 forks source link

Photo compression #48

Open Gabriele69 opened 7 years ago

Gabriele69 commented 7 years ago

Our unofficial Telegram version does not compress the photos being sent. This fact causes heaviness in file transmission. If I'm not mistaken, the desktop version (linux) that I usually use to compress files before sending (similar to whatsapp)

Flohack74 commented 7 years ago

At least it has the option to compress it. Yes this is very annoying, I was also complaining to myself already :)

alexanderisme commented 7 years ago

Maybe this would be the solution for this problem?

https://github.com/ubports/gallery-app/issues/10

Flohack74 commented 7 years ago

Well yes and no. The official Telegram client has this built in, and with the gallery I would have to first go there, resize, and then send to Telegram. Because of the huge memory demand I will at least kick out some Apps from memory, and the whole process is time-consuming.

Compressing on the fly would be really a cool option if the user requests it.

Flohack74 commented 7 years ago

The camera-app will have a feature to select smaller resolutions. Just as a thought ;)

Gabriele69 commented 7 years ago

An interesting solution could be this: Add a "sharing" button to camera in this way:

Gabriele69 commented 7 years ago

mod_1

Gabriele69 commented 7 years ago

that sets the camera with a shutter option already set in "reduced" mode

Gabriele69 commented 7 years ago

mod_2

Gabriele69 commented 7 years ago

which can be used both before using the Telegram app, or coming to the camera from the Telegram App