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 307634 - Windows .ico file misloaded
Windows .ico file misloaded
Status: RESOLVED DUPLICATE of bug 172503
Product: GIMP
Classification: Other
Component: Plugins
2.2.x
Other Windows
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-06-14 14:55 UTC by Ed Avis
Modified: 2008-01-15 12:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Icon misloaded by the Gimp (1.37 KB, image/x-ico)
2005-06-14 14:56 UTC, Ed Avis
Details

Description Ed Avis 2005-06-14 14:55:13 UTC
Version details: 2.2.7 Win32 build
Distribution/Version: Windows XP

The attached .ico file, when you load it into the Gimp, shows a black rectangle
as the top half of the image with some blue stuff below.  This is not correct;
when you view the file in most Windows applications (for example the image
preview in Windows Explorer, or Microsoft Visual Studio) the image is a blue
thing with no black rectangle at the top.  So this is a bug in the .ico input
converter.

Hmm, not sure where to attach the file, but see
<http://membled.com/work/bugs/gimp/misdisplayed.ico>.  You may note that its
display in Mozilla Firefox is different to that in the Gimp - hopefully no need
to start up Windows to verify this bug.
Comment 1 Ed Avis 2005-06-14 14:56:38 UTC
Created attachment 47759 [details]
Icon misloaded by the Gimp

This should be a blue icon on a transparent background (and displays as such in
most programs).  But the Gimp misloads it and blacks out the top half of the
image.
Comment 2 Kevin Cozens 2005-06-14 15:52:24 UTC
The image loads properly in Linux using the 2.2.6 and CVS versions of GIMP.
Comment 3 Ed Avis 2005-06-14 17:56:25 UTC
Hmm, I found the misloading with both 2.2.2 and 2.2.7 on Windows.
Comment 4 Sven Neumann 2005-06-16 08:59:05 UTC
Loads fine for me (on Linux).
Comment 5 Sven Neumann 2005-06-16 09:00:00 UTC

*** This bug has been marked as a duplicate of 172503 ***
Comment 6 Michael Schumacher 2005-06-16 09:27:26 UTC
The icon is recognized as a 8 bpp icon (and, according ot identify, is a image
with a rgba palette). The code in icoload.c seems to assign either A=0 or A=255
in this case.