Implement Bicubic interpolation for resizing on thumbnail generation
--------------------------------------------------------------------

                 Key: MGNLDAM-2
                 URL: http://jira.magnolia-cms.com/browse/MGNLDAM-2
             Project: Magnolia DAM Module
          Issue Type: Improvement
    Affects Versions: 1.0 Alpha S8
            Reporter: Christopher Zimmermann
            Assignee: Christopher Zimmermann


Bilinear interpolation is the default in BasicResizer.java.
But it looks bad and Bicubic looks good. But bicubic is much slower. 2 to 4 
times slower in my tests.

In experiments, I was able to change a specific resize operation 
"BoundedResize" to be able to accept an "interpolation" node on its 
configuration. 

But I want to see if its possible in a more generic way to set "interpolation" 
as a parameter, so it doesnt have to be built in specifiically for every 
operation.
BoundedResize extends AbstractCropAndResize.java which has a BasicResizer as a 
member.
Is there not a way to configure the BasicResizer itself via configuration node? 
Perhaps. I will ask Gregory.

For best quality bicubic would be used everywhere - but bilinear resizing is 
passable for bigger images. It looks bad on small images.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to