GNOME Bugzilla – Bug 158191
previews of .ico files are messed up, add a thumbnail loader
Last modified: 2005-05-07 00:06:39 UTC
The winicon format provides the same icon at multiple sizes. The plug-in loads these as layers and GIMP creates a thumbnail by merging these layers. Thus, creating a thumbnail for winicon files gives some rather strange results. A recent addition to the GIMP 2.2 API allows plug-ins to register an additional procedure for loading a thumbnail. This functionality should be used to solve this problem. The plug-in should select the best match from the set of icon sizes it contains and return that when being asked for a thumbnail.
This should be pretty much straight-forward; adding the easy-fix keyword.
2005-05-07 Sven Neumann <sven@gimp.org> * plug-ins/winicon/icoload.c * plug-ins/winicon/main.c: added a thumbnail loader for .ico files Fixes bug #158191.