RocketChat / Rocket.Chat.Android

Legacy mobile Rocket.Chat client in Kotlin for Android
https://rocket.chat
MIT License
870 stars 554 forks source link

[Bug] Image-processing - upload file and download it again - file bigger than before #2034

Open soenkef opened 5 years ago

soenkef commented 5 years ago

Bug: I have uploaded an image (jpeg, 2,32MB, 3264x2448, 8MP) to private chat. There I have downloaded it again and I checked details of the pic: jpeg, but now 3,17MB, 3264x2448, 8MP, Exif-info got lost).

To Reproduce

  1. Go to chat room, upload specific image and check before upload details
  2. Download image again and check details
  3. File is now bigger than before

Expected behavior

File has to be compressed and smaller than origin

Devices and Versions

My Rocket.Chat.Android version: 3.2.0 Your Rocket.Chat Server version: open.rocket.chat (version of 2019-02-20)

Mobile device model and OS version: Samsung Galaxy S8, Android 8.0.0, Samsung Galaxy Tab S2, Android 7.0

soenkef commented 5 years ago

Additional information: The image-processing by webapp (upload by browser) is much better. The by browser upload processed file is after download only half sized. Same procedure must be in native Android app.

soenkef commented 5 years ago

Has anybody reproduced this issue too?