fillAvailableSpace (to rename fillWithStretch or just fill: stretch) which makes the preview fill the current view by stretching or flattening it
fitToPicture (to rename fillWithBlackBars or just fill: blackBars) which keeps the aspect ratio of the preview resolution and fits the full preview inside the view, at the cost of black bars in the empty space
We would like a third in-between option:
fillWithCrop (or just fill: crop by renaming the option), which keeps the aspect ratio and tries to fill the entire view by making the preview extend beyond the available space, resulting in a crop
This then lets the user choose the best compromise between distortion, unused space and loss of information depending on their use case and devices.
Related to #187
Currently we have two modes:
fillAvailableSpace
(to renamefillWithStretch
or justfill: stretch
) which makes the preview fill the current view by stretching or flattening itfitToPicture
(to renamefillWithBlackBars
or justfill: blackBars
) which keeps the aspect ratio of the preview resolution and fits the full preview inside the view, at the cost of black bars in the empty spaceWe would like a third in-between option:
fillWithCrop
(or justfill: crop
by renaming the option), which keeps the aspect ratio and tries to fill the entire view by making the preview extend beyond the available space, resulting in a cropThis then lets the user choose the best compromise between distortion, unused space and loss of information depending on their use case and devices.