Unigram: Pictures with too wide of an aspect ratio will not be sent

Created on 19 Mar 2019  路  4Comments  路  Source: UnigramDev/Unigram

Issue

If a picture has an aspect ratio that is too wide the picture will not be sent and a little lightning bolt appears in the lower right corner.

Steps to reproduce

  1. Open snipping tool
  2. Select an extremely wide, but short in height area
  3. Paste the image into Unigram
  4. Send
  5. Error will appear

This also happens with wide images that are already saved somewhere. Usage of snipping tool is not necessary.

image

image

Possible fix

I believe this problem exists because of telegram not allowing to send those wide pictures. Telegram Desktop sends these images as files whenever they are too wide. It might be a good idea to send them as files whenever this occurs.

bug

Most helpful comment

Adding a padding isn鈥檛 a good idea to me... Better to preserve the original file

All 4 comments

Or ask the user whether they want to send as file, add padding or cancel?

Adding a padding isn鈥檛 a good idea to me... Better to preserve the original file

Indeed it is, but that doesn't have an in-chat preview. (it would be nice to add one for images sent as file, though, however that isn't in the original app)

This is fixed now

Was this page helpful?
0 / 5 - 0 ratings

Related issues

metya picture metya  路  6Comments

larsschellhas picture larsschellhas  路  3Comments

ipuneetsingh picture ipuneetsingh  路  3Comments

FrayxRulez picture FrayxRulez  路  4Comments

smfilipe picture smfilipe  路  6Comments