Feature request : improve the resizing algorithm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
notify-osd (Ubuntu) |
Fix Released
|
Wishlist
|
Mirco Müller |
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.
description: | updated |
Changed in notify-osd: | |
status: | Fix Committed → Fix Released |
affects: | notify-osd → notify-osd (Ubuntu) |
http:// filebin. ca/zgneos/ Rescale. tar.gz