[w3c/clipboard-apis] Getting file/image from clipboard (#134)

I stumble up on something abnormal behavior when i tried to copy a jpeg with exif rotation and reading it from the clipboard api.

First of all, when i read the image then I always got a png file even doe i had copied a jpeg file.
I can see from this [paragraph](https://w3c.github.io/clipboard-apis/#reading-from-clipboard) that jpg/jpeg should be whitelisted. So why don't i get the original jpeg file back when i read it from the clipboard?

Chrome seems to convert all images into a png file? (why?) and wrongly too. it dose not rotate the image according to the exif rotation in the jpeg meta data.

And why is the file name not the same as the original file i copied? all images i copy get the name `image.png`?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/134

Received on Tuesday, 17 November 2020 19:54:40 UTC