← Back to team overview

dx-packages team mailing list archive

[Bug 393797] [NEW] Feature request : improve the resizing algorithm

 

You have been subscribed to a public bug:

The current album art notifications are blurry, not because they are
resized by the applications, but because the resizing algorithm used by
Notify OSD makes them blurry. According to Mpt, the algorithm currently
used is Sinc/Lanczos.

I attached a picture showing some photos with the different algorithms available in GIMP, as follows :
 _________________________________________________________________________________________
| No interpolation | Linear | Cubic .. | Lanczos ............... | Lanczos + sharp 5/.5/0 |
| No interpolation | Linear | Cubic .. | Lanczos ............... | Lanczos + sharp 5/.5/0 |
| No interpolation | Linear | Cubic .. | Lanczos ............... | Lanczos + sharp 5/.5/0 |
| ................ | Cubic  | Lanczos | Lanczos + sharp 1/.1/0 | Lanczos + sharp 5/.5/0 |
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

All the photos were 900x900 PNG except the monkey which was 64x64.

Apparently, the best result without sharpening is the Cubic algorithm.
If you want to sharpen the pictures, then the intensity of the sharpen
algorithm should depend on how big the original image was (sharpen a lot
big images, and a little little images).

I also attached a tarball containing the original and cut images, and a
script to show them in bubbles.

** Affects: notify-osd (Ubuntu)
     Importance: Wishlist
     Assignee: Mirco Müller (macslow)
         Status: Fix Released

-- 
Feature request : improve the resizing algorithm
https://bugs.launchpad.net/bugs/393797
You received this bug notification because you are a member of DX Packages, which is subscribed to notify-osd in Ubuntu.