Comment 0 for bug 393797

Revision history for this message
Steve Dodier-Lazaro (sidi) wrote :

The current album art notifications are blur, not because they are resized by the applications, but because the resizing algorithm used by NotifyOsd makes them blur. 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.