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
 LayersMerge is not working as expected

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
yogiyang Posted - Jun 21 2016 : 10:31:17
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
6   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 04 2016 : 22:33:10
Hi Yogi

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

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
yogiyang Posted - Jul 04 2016 : 09:16:09
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
xequte Posted - Jun 26 2016 : 00:41:34
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
xequte Posted - Jun 22 2016 : 19:45:26
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
yogiyang Posted - Jun 22 2016 : 01:14:33
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
xequte Posted - Jun 21 2016 : 19:51:40
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