Feature Request: raise Exception if "modern" ICO files are loaded
Short version: gdk-pixbuf
has several problems dealing with "modern" ICO files using multiple resolutions and image formats. Lot of open bug reports about this but not fixed for years.
Quick solution: Raise an exception (or something like this) when such ICO files are loaded.
Rational: This would prevent developers from picking in the dark open new bug reports in several projects (not only gdk-pixbuf
) etc.
More details:
Currently I identified this possibly related bugs. But keep in mind that there are some more bugs in other projects related to gdk-pixbuf
.
In the current state and in my understanding it is unclear what "modern" ICO features are not supported (or wrong handled) by gdk-pixbuf
. This is up to the core devs who are deeper into that topic.
I touched that problem first while using PyGObject GdkPixbuf.Pixbuf
with such an ICO file. The problem is documented here: https://mail.gnome.org/archives/python-hackers-list/2019-June/msg00000.html
The discussion about the current bug state and that currently there is no one who is able to fix it can be found here: https://discourse.gnome.org/t/several-bug-reports-about-ico-files-with-multiple-sizes!