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

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:52 UTC