W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > May 2019

[mediacapture-main] ResizeMode (crop-and-scale) is underspecified (#584)

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Thu, 02 May 2019 13:56:46 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-439605267-1556805405-sysbot+gh@w3.org>
henbos has just created a new issue for https://github.com/w3c/mediacapture-main:

== ResizeMode (crop-and-scale) is underspecified ==
When downscaling a resolution, there are at least three ways you could do it if the new aspect ratio is not the same as the original one:
- Stretch it.
- Don't stretch it, achieve new resolution by "zooming in" to the middle of it.
- Don't stretch it, achieve new resolution by making the picture smaller and adding black bars to fill out the part of the rectangle that doesn't have the picture.

The spec downscaling and/or cropping but does not say how this is achieved.

@guidou what does Chrome do?

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/584 using your GitHub account
Received on Thursday, 2 May 2019 13:56:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:23 UTC