Skip to content

Implement aspect ratio correction for Lanczos effect

Arjen Hiemstra requested to merge work/ahiemstra/aspect into work/lanczos

This introduces a new property, sourceSize, which is used to calculate an aspect ratio value that is used to adjust the UV coordinates of the target image. This effectively recreates the "PreserveAspectFit" mode of QML Image's fillMode property.

Edited by Arjen Hiemstra

Merge request reports