Re: [img-conversion] canDecodeType \ canEncodeType could be supports() (#12)

To be clear: 
> What operations do you envisage ImageData supporting other than encode and decode?

None. Just those two. 

> I'm not sure why that would need to be an option like that.

Just to reduce API surface area. 

> I think it is a good idea to design the platform to be consistent, and if it is only necessary to check support for a MIME type, it ought to be consistent with the functionality and naming of HTMLMediaElement.canPlayType and MediaRecorder.canRecordType.

I don't disagree with this in principle, but it's ok to move away from things like the above where alternatives make sense. I.e., it's ok to break from convention, like with SW's `event.waitUntil()`.  

---
Reply to this email directly or view it on GitHub:
https://github.com/WICG/img-conversion/issues/12#issuecomment-142444860

Received on Tuesday, 22 September 2015 23:01:55 UTC