Project

General

Profile

bug #6975

improve preferred media calculation algorithm in cdmlib

Added by Andreas Kohlbecker over 1 year ago. Updated 3 months ago.

Status:
New
Priority:
New
Category:
cdmlib
Target version:
Start date:
09/22/2017
Due date:
% Done:

0%

Severity:
normal
Found in Version:

Description

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 dataportal in the same way where a similar method exists.


Related issues

Copied from Edit - bug #6969: Use media representation which best fits the available size for taxon profile picture Closed 09/21/2017
Copied to Edit - bug #6976: improve preferred media calculation algorithm in dataportal New 09/22/2017

History

#1 Updated by Andreas Kohlbecker over 1 year ago

  • Copied from bug #6969: Use media representation which best fits the available size for taxon profile picture added

#2 Updated by Andreas Kohlbecker over 1 year ago

  • Copied to bug #6976: improve preferred media calculation algorithm in dataportal added

#3 Updated by Andreas Kohlbecker over 1 year ago

  • Subject changed from improve preferred media calculation algorithm to improve preferred media calculation algorithm in cdmlib
  • Category changed from cdm-dataportal to cdmlib

#4 Updated by Andreas Kohlbecker over 1 year ago

  • Description updated (diff)

#5 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.11 to Release 4.12

#6 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.12 to Release 4.13

#7 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.13 to Release 4.14

#8 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.14 to Release 5.0

#9 Updated by Andreas Kohlbecker about 1 year ago

  • Target version changed from Release 5.0 to Release 5.1

#10 Updated by Andreas Müller 11 months ago

  • Target version changed from Release 5.1 to Release 5.2

#11 Updated by Andreas Kohlbecker 9 months ago

  • Target version changed from Release 5.2 to Release 5.3

#12 Updated by Andreas Kohlbecker 9 months ago

  • Target version changed from Release 5.3 to Release 5.4

#13 Updated by Andreas Kohlbecker 7 months ago

  • Target version changed from Release 5.4 to Release 5.5

#14 Updated by Andreas Kohlbecker 4 months ago

  • Target version changed from Release 5.5 to Release 5.6

#15 Updated by Andreas Kohlbecker 3 months ago

  • Target version changed from Release 5.6 to Unassigned CDM tickets

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)