W3C home > Mailing lists > Public > public-device-apis-log@w3.org > September 2021

Re: [html-media-capture] No way of setting image resolution (#39)

From: Anssi Kostiainen via GitHub <sysbot+gh@w3.org>
Date: Wed, 01 Sep 2021 07:21:17 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-910004874-1630480875-sysbot+gh@w3.org>
That is correct and this limitation is there by design. The capture attribute is considered a hint.

As a workaround, it is possible to check the resolution using the FileReader API along the lines of [example 6](https://w3c.github.io/html-media-capture/#example-6). Please let us know if that would work for your use case. Thanks!

GitHub Notification of comment by anssiko
Please view or discuss this issue at https://github.com/w3c/html-media-capture/issues/39#issuecomment-910004874 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 1 September 2021 07:21:18 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:59 UTC