There are other use cases though that aren't supported by PNG, such as vector images and animated images. Or more niche use cases like RAW images.
There are other use cases though that aren't supported by PNG, such as vector images and animated images. Or more niche use cases like RAW images.
Animated images could definitely be somewhat useful though, albeit much more niche than static raster images. In most cases where I want an animated image on my clipboard, a link will suffice. What I want may not map to the majority of course, but at least PNG support is a start!
Yes, but I don't think you can set the MIME type. So whatever you paste in would have to be smart enough to look at a text/plain clipboard data and figure out if it looks like an SVG (or whatever).
text/plain
text/uri-list
text/csv
text/html
image/svg+xml
application/xml, text/xml
application/json
So at the very least there's image/svg+xml, but that is pretty limiting.Raster image support should also be able to support stuff drawn on a canvas element, so I think it is a great place to start.