- From: Ashley (Scirra) <notifications@github.com>
- Date: Wed, 23 Sep 2015 15:31:13 -0700
- To: WICG/img-conversion <img-conversion@noreply.github.com>
Received on Wednesday, 23 September 2015 22:31:41 UTC
Yeah, that would suck. Perhaps the spec could mandate that only MIME types of the form "image/XXX" are allowed (with no extra parameters)? If the support is mixed depending on parameters, the functions are allowed to return "maybe". The situation is similar to HTMLMediaElement's `canPlayType` which you can pass the MIME type for a WAV file which in theory could have an exotic sample rate/bit depth/etc, but in common usage will work. AFAIK no browsers bother to parse actual parameters like the sample rate or bit depth in that case, they just return "maybe" instead of "probably". --- Reply to this email directly or view it on GitHub: https://github.com/WICG/img-conversion/issues/12#issuecomment-142748969
Received on Wednesday, 23 September 2015 22:31:41 UTC