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

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

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Thu, 09 May 2019 13:35:02 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-490907306-1557408901-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:47 UTC