Project

General

Profile

bug #6976

Updated by Andreas Kohlbecker over 6 years ago

as stated in #6969#node_7 the algorithm to calculate the preferred media representation should prefer bigger image over smaller once. Up scaling smaller images always cause a clearly visible loss in quality. 

 The algorithm currently calculates the difference of the products of width and height of the desired image dimensions with the actual dimensions. 
 Negative differences could be multiplied with a factor (fixed, calculated from the preferred extend?) to clearly prefer bigger images over smaller ones. 

 **This improved algorithm should implemented for the cdmlib dataportal in the same way where a similar method exists.**

Back