Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-2

DOCU: document use of Bicubic interpolation for resizing on thumbnail generation

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • 1.0
    • None
    • None

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                czimmermann Christopher Zimmermann
                czimmermann Christopher Zimmermann
                AuthorX
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoD