Thank you for your reply.
- I copied your code exactly as it was, but it didn't change anything.
- I removed the test before copying it to the image. Of course, I'm skipping the instructions, but I'm getting the following message.
Regarding the "clipboard.free" command, I had just added it because, while searching the forum, one of the contributors advised not to forget to free the clipboard.
A few clarifications:
1- When I right-click on an image and select "copy" using Ctrl + C, the image goes to the clipboard correctly. To verify this, I open my word processor, then press Ctrl + V, and the image inserts normally.
2- Is the content of the formats in the "Clipboard.Formats" table normal? I was expecting to get a list of possible file extensions.