Selecting an image from a multiple-image file type (like ICO)
Submitted by Oskar Liljeblad
Description
Galeon has the feature to download favicon.ico files when bookmarking sites. This file contains small images that are used in bookmark menus. These files may contain more many images of different size.
The problem is that galeon always seems to pick the first image, even if that isn't the correct size. Then galeon rescales that image to something like 16x16, which doesn't look good at all.
Example: www.freshmeat.net/favicon.ico
This file contains three images, as reported by my tool icoutils (http://freshmeat.net/projects/icoutils/):
--icon --index=0 --width=48 --height=48 --colors=256
--icon --index=1 --width=32 --height=32 --colors=256
--icon --index=2 --width=16 --height=16 --colors=256
Galeon picks the first image and resizes it to 16x16. However, the third image is already 16x16, and looks much better (no sharp edges). (Use icoutils or ImageMagick to extract the separate image to see for yourself.)
Version: git master