]> Pileus Git - ~andy/gtk/commit
Stop discriminating against 32bpp ICOs a): Use the byte size of the image
authorMatthias Clasen <maclas@gmx.de>
Sat, 28 Jun 2003 20:04:18 +0000 (20:04 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 28 Jun 2003 20:04:18 +0000 (20:04 +0000)
commit4d3c01795c052f1d66bb697731f0245912dcd69b
tree172be2da4e90525e007337fd63f8ddad9ba6628a
parent323bcc614d46abc4eb4095664ee524a1ab25cfce
Stop discriminating against 32bpp ICOs a): Use the byte size of the image

2003-06-28  Matthias Clasen  <maclas@gmx.de>

* io-ico.c (DecodeHeader): Stop discriminating against 32bpp ICOs a): Use the byte
size of the image as a heuristic when selecting the bitmap  to load - this lets us
select 32bpp bitmaps which come after a 8bpp bitmap.
(OneLineTransp): Stop discriminating against 32bpp ICOs b): Don't overwrite the
alpha channel of 32bpp ICOs.
(gdk_pixbuf__ico_image_load_increment): Stop decoding the header unnecessarily.
gdk-pixbuf/ChangeLog
gdk-pixbuf/io-ico.c