Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: 6.13.0, 7.0.0-M1
    • Component/s: wicket-extensions
    • Labels:
      None

      Description

      The control over the quality of generated thumbnails has been lost after modifications proposed in WICKET-2450 (the performance has been greatly improved though). That article http://today.java.net/pub/a/today/2007/04/03/perils-of-image-getscaledinstance.html proposes multi-step approach when downscaling images. It produces much better visual results with no dramatic performance loss. Can we use that code? It also would be nice to have image rendering hints configurable as they were before.

        Activity

        Hide
        mgrigorov Martin Grigorov added a comment -

        Sorry.
        It seems we missed somehow the attached patch when it has been provided and now it is no more applicable.

        I've removed the 'final' from the signature of org.apache.wicket.extensions.markup.html.image.resource.ThumbnailImageResource#getScaledImageInstance so now user applications can provide better algorithm for scaling when desired.

        Show
        mgrigorov Martin Grigorov added a comment - Sorry. It seems we missed somehow the attached patch when it has been provided and now it is no more applicable. I've removed the 'final' from the signature of org.apache.wicket.extensions.markup.html.image.resource.ThumbnailImageResource#getScaledImageInstance so now user applications can provide better algorithm for scaling when desired.
        Hide
        mat000 Matvey Piskunov added a comment -

        Here it is

        Show
        mat000 Matvey Piskunov added a comment - Here it is
        Hide
        mgrigorov Martin Grigorov added a comment -

        Please provide a patch and we will consider it.
        Thanks!

        Show
        mgrigorov Martin Grigorov added a comment - Please provide a patch and we will consider it. Thanks!

          People

          • Assignee:
            mgrigorov Martin Grigorov
            Reporter:
            mat000 Matvey Piskunov
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development