Signal-android: Don't scale down images attached as "files"

Created on 27 Apr 2017  路  3Comments  路  Source: signalapp/Signal-Android

Sometimes there is the need for sending an image as-is, without further compression/scaling. As now Signal supports big and arbitrary attachment, please leave images alone when sending them as "Files" and not from the "Gallery".

The workaround now is renaming the file, but it's rather clunky on Android

feature

Most helpful comment

It's done around here in-app:
https://github.com/WhisperSystems/Signal-Android/blob/e96bf2bdc7a9cb7497eec696362c29a764d292d7/src/org/thoughtcrime/securesms/jobs/SendJob.java#L52

Media only leave your device encrypted (for Signal messages). I cannot imagine that there is a method which resizes encrypted media (e.g. on the server).

All 3 comments

I'm interested, is this done in the app itself or on the server?

It's done around here in-app:
https://github.com/WhisperSystems/Signal-Android/blob/e96bf2bdc7a9cb7497eec696362c29a764d292d7/src/org/thoughtcrime/securesms/jobs/SendJob.java#L52

Media only leave your device encrypted (for Signal messages). I cannot imagine that there is a method which resizes encrypted media (e.g. on the server).

GitHub Issue Cleanup:
See #7598 for more information.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Wikinaut picture Wikinaut  路  3Comments

hiredgunhouse picture hiredgunhouse  路  3Comments

McLoo picture McLoo  路  3Comments

gmsl360 picture gmsl360  路  3Comments

5boro picture 5boro  路  3Comments