After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 158191 - previews of .ico files are messed up, add a thumbnail loader
previews of .ico files are messed up, add a thumbnail loader
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
2.1.x
Other All
: Normal enhancement
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2004-11-13 17:33 UTC by Sven Neumann
Modified: 2005-05-07 00:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sven Neumann 2004-11-13 17:33:27 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.
Comment 1 Sven Neumann 2005-02-10 14:51:09 UTC
This should be pretty much straight-forward; adding the easy-fix keyword.
Comment 2 Sven Neumann 2005-05-07 00:06:39 UTC
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.