immichFrame / ImmichFrame

GNU General Public License v3.0
469 stars 20 forks source link

Configure scaling method (scale to fit vs. cover) #103

Closed OliverLippertVw closed 3 months ago

OliverLippertVw commented 3 months ago

Description

Users should be able to controll whether pictures that doesn't have the same ratio as the screen are scaled down to fit (+ that nice blur background effect) or if they should be scaled up to cover the full screen.

Use Case

Picuter and Display have different ratio. (e.g. 4:3 vs. 16:9)

Details

No response

Pre-Submission Checklist

3rob3 commented 3 months ago

The current implementation uses the default Stretch value of Uniform: image is scaled to fit within the container while preserving its aspect ratio. The entire image is visible, and there may be empty space if the aspect ratios differ.

I assume you want to option of UniformToFill': image is scaled to fill the entire container while preserving its aspect ratio, but parts of the image may be clipped if the aspect ratios differ.