[ 
https://issues.apache.org/jira/browse/WICKET-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov resolved WICKET-4268.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 7.0.0
                   6.13.0
         Assignee: Martin Grigorov

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. 

> Quality of ThumbnailImageResource
> ---------------------------------
>
>                 Key: WICKET-4268
>                 URL: https://issues.apache.org/jira/browse/WICKET-4268
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 1.5.3
>            Reporter: Matvey Piskunov
>            Assignee: Martin Grigorov
>             Fix For: 6.13.0, 7.0.0
>
>         Attachments: ThumbnailImageResource-multi-step-downscaling.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to