Cannot paste images into GIMP copied from Telegram.
GIMP version: 2.10.10
Note: bug reporters are expected to have verified the bug still exists either in the last stable version of GIMP or on updated development code (master branch).
Operating System: Windows (all versions)
Package: bittorrent installer: https://download.gimp.org/pub/gimp/v2.10/windows/gimp-2.10.10-setup.exe.torrent
Description of the bug
Telegram (download here: https://telegram.org/dl/desktop/win_portable) displays images in its client. You can copy and paste them, e.g. into MS paint, but GIMP for some reason is unable to paste images copied from telegram's app.
Reproduction
Is the bug reproducible? Always, since at least GIMP 2.8
Reproduction steps:
- Open and sign into telegram. Open GIMP. open mspaint.
- On telegram, send an image to your saved messages. Try sending both compressed and uncompressed, as both should ideally work, but neither does.
- Right click -> copy the image to store it to the clipboard.
- Try to paste it into GIMP.
Expected result: The image should appear in gimp's interface.
Actual result: You receive an error message, "There is no image data in the clipboard to paste."
Additional information
Using this debugging tool (http://www.peterbuettner.de/develop/tools/clipview/) you can see that there are a number of things on the clipboard, including a CF_DIB field and fields for numerous other image file formats, by mime type. It seems that GIMP is for some reason unable to decipher them.
I notice that the CF_DIB values don't contain the same data when copying the same image from telegram versus from mspaint? maybe the issue has to do with that.