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

What operations do you envisage ImageData supporting other than encode and decode? I'm not sure why that would need to be an option like that.

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.

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

Received on Tuesday, 22 September 2015 15:37:50 UTC