Skip to content

[BUG] Unexpected image compression while sending as a document #1455

@pvorlov

Description

@pvorlov

Code of conduct

Self-training on how to write a bug report

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I have an important photo that I need to send to someone without any compression so they can store it permanently (e.g., a family photo).
Even if I send this photo using the document icon (instead of the picture icon), the recipient still receives a compressed image after downloading it.

Expected Behavior

The receiver should download the photo in its original size if it was sent as a document.
The receiver should download a compressed version of the photo if it was sent as a picture.
(This should work the same way as in Telegram Messenger.)

Steps To Reproduce

  1. Prepare an image larger than 3 MB.
  2. Send the image in a session using the document icon (not the picture icon).
  3. The receiver downloads the photo.
  4. The receiver checks the file size.
  5. The downloaded image is smaller than the original one.

Android Version

Android 14

Session Version

1.27.0

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions