Re: [mediacapture-image] Provide way to get / set captured image format

@Fuzzyma good point. If quality adjustment is required, then it should be bundled together with type, e.g., if type is tiff or raw `MediaSettingsRange` for quality setting would be `{ min:100,  max: 100,  step: 0 }`

@yellowdoge what do you think? I tried to draft IDL with `dictionary ImageFormat` :
```
  interface PhotoCapabilities {
    readonly attribute FrozenArray<ImageFormat> supportedImageFormats;
  };

  dictionary PhotoSettings {
    ImageFormat       imageFormat;
  };

  dictionary ImageFormat {
    DOMString           type;
    MediaSettingsRange  quality;
  };
```

Then there is a problem with` FrozenArray<ImageFormat>` in `PhotoCapabilities`, :disappointed: 

-- 
GitHub Notification of comment by alexshalamov
Please view or discuss this issue at https://github.com/w3c/mediacapture-image/issues/162#issuecomment-308719342 using your GitHub account

Received on Thursday, 15 June 2017 12:46:15 UTC