← Back to team overview

dx-packages team mailing list archive

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

 

** Project changed: notify-osd => notify-osd (Ubuntu)

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to notify-osd in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/393797

Title:
  Feature request : improve the resizing algorithm

Status in “notify-osd” package in Ubuntu:
  Fix Released

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/393797/+subscriptions