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

In discussion in the WG, my memory says that we did not want to permit distortion, so stretching was right out. Crop-and-scale was intended to be "crop to desired aspect ratio, then scale to desired # of pixels".
We also decided not to do black bars.
For reference, the CSS object-fit property is described here: https://www.w3schools.com/css/css3_object-fit.asp - we decided to not to "fill" or "contain".


-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/584#issuecomment-490907306 using your GitHub account

Received on Thursday, 9 May 2019 13:35:03 UTC