How to upload an image to Telegram without degrading its quality?

I do it via Telegram Desktop:
How do I install Telegram Desktop to Windows 10?
2023-04-09--13-04-21

See also: How to upload a video to Telegram without degrading its quality?