I have few programs. One is for editing images and now supports loading/saving layer files(.ien) thats okay. But also I have other program, in that program I don't want to support layer image files. So is there global function to stop loading layer (.ien etc) image files? Cause it seems that LoadFromFile tries to load them. Problem is that when loading ex. ien file it shows layers, but when loading another image ex. jpeg it shows layers from previous ien file.