[w3c/FileAPI] URL.createObjectURL should also accept ImageBitmap (#107)

Sometimes, an `ImageBitmap` has already been created for a `Blob` for some other uses, before using URL.createObjectURL, so there's no need to again use the Blob to create an object URL. If `ImageBitmap` were allowed for `URL.createObjectURL`, code would be more efficient:

```
createImageBitmap(someBlob).then(imageBitmap =>
{
 // Some other use of the image bitmap
 ...

 // Now create the URL
 const imageURL = URL.createObjectURL(imageBitmap);
});
```

-- 
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/FileAPI/issues/107

Received on Monday, 27 August 2018 06:59:25 UTC