ImageFileFormat not extension-aware


#1

It would be nice if the ImageFileFormat class could expose a function that parses a filename’s extension and determines if it is a suitable image file name. Especially one that is handled by the various format loaders.

This would be useful in response to FileDragAndDropTarget::isInterestedInFileDrag.


#2

Good idea, I could use that myself, too.