ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder
ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Is there global function to stop loading ien files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mhieta

Finland
75 Posts

Posted - Aug 03 2019 :  12:00:43  Show Profile  Reply
Hello,

I'm using ImageEn 8.6.0

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.

Regards Marko

xequte

4648 Posts

Posted - Aug 04 2019 :  19:11:08  Show Profile  Reply
Hi Marko

Before loading an image, ensure you clear the existing content using:

ImageEnView1.ClearAll();

You can remove support for an image format as follows:

// Remove support for ImageEn layers format
IEFileFormatRemove( ioIEN );

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: