Walys I mean where you're coping the image from, or what image. For example, if it's an image on your computer or something on the web.
In the second case, unfortunately when pasting, browsers provide the URL of the image instead of the actual image data, so the extension won't work in that case.