2009-06-16 13:54:22 UTC
In il_io.c::ilSaveImage(), why is it that the call to iRegisterSave() comes after all calls to all the nominal ilSaveXYZ() functions? It seems like this prevents me from overriding the save functionality for an already supported format. For instance, I would like to write my own save function to override the built-in one for .raw files, but this seems to be impossible.
On the flip side, in ilLoadImage() the call to iRegisterLoad() comes before any other ilLoadXYZ() calls. Seems like ilSaveImage() should follow this same logic?