ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Is there global function to stop loading ien files

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
mhieta Posted - Aug 03 2019 : 12:00:43
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
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 04 2019 : 19:11:08
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