Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-1259

use better image downscaling method in filter-media

    Details

    • Attachments:
      2
    • Comments:
      11
    • Documentation Status:
      Needed

      Description

      Users are unsatisfied with current quality of images downscaled by filter-media. This leads to using workarounds like creating higher resolution thumbnails and letting the user's browser downscale the image, which is bandwidth-inefficient. The right solution would be to find a better downscaling method.

      One proposed option would be to use the Apache-licensed, Maven-dwelling, GitHub-using pure-Java Imgscalr library:
      http://www.thebuzzmedia.com/software/imgscalr-java-image-scaling-library/

      The current code that needs to be changed is here:
      https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/app/mediafilter/JPEGFilter.java#L136
      and in BrandedPreviewJPEGFilter.java

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bram Bram Luyten (Atmire)
                Reporter:
                helix84 Ivan Masár
                Reviewer:
                João Melo
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: