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
 LayersMerge is not working as expected
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
725 Posts

Posted - Jun 21 2016 :  10:31:17  Show Profile  Reply
Hello,

I am trying to merge a normal layer with a mask layer.

But ImageEn merges such two layers it will always convert mask layer to non mask layer and then it will merge the two layers.

What I want is, to keep the mask layer as mask layer and merge it with the other layer keeping all its effects intact.

Again LayersMergeAll is working expected but then to use it we will have to have only two layers in ImageEn.

TIA


Yogi Yang

xequte

38182 Posts

Posted - Jun 21 2016 :  19:51:40  Show Profile  Reply
Hi Yogi

Do you mean you want to apply marked areas of the mask layer as transparency to the associated layer?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

yogiyang

India
725 Posts

Posted - Jun 22 2016 :  01:14:33  Show Profile  Reply
Hello,

Yes that is it! I want to apply the Mask layer as transparency to associated layer.

But I don't understand as to why LayersMerge and LayersMergeAll behave differently. And to top it all this difference in behavior is not documented so I am a bit confused.

TIA


Yogi Yang
Go to Top of Page

xequte

38182 Posts

Posted - Jun 22 2016 :  19:45:26  Show Profile  Reply
Hi Yogi

Unfortunately ImageEn treats layer masks differently from regular masks. It is not well documented but I will improve this for the next release. I first want to investigate the best way to merge a layer and a mask with the developer of that code.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

xequte

38182 Posts

Posted - Jun 26 2016 :  00:41:34  Show Profile  Reply
Hi Yogi

Please email me for a fix which allows simpler merging of a layer with its mask (tested in the demo you sent me too).



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

yogiyang

India
725 Posts

Posted - Jul 04 2016 :  09:16:09  Show Profile  Reply
Hello Nigel,

Thank you for offer to send in code patch.

But I think I would rather wait for the new version to get released. Which I hope is just round the corner...

Regards


Yogi Yang
Go to Top of Page

xequte

38182 Posts

Posted - Jul 04 2016 :  22:33:10  Show Profile  Reply
Hi Yogi

V6.3.1 should be ready in less than two weeks.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: