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
 Having problem using Select

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 - Nov 20 2018 : 02:34:31
Hello,

I am trying to create a multi layer image from scratch programatically.

But the selection is not coming as expected on layers added.

I have build a sample project to show the problem.

https://mega.nz/#!X5YwwQDJ!nM1fBkFmdGBiinzio8UPQ2rnObaMd8jged736Uf5ozw

In the application please click on the Create Image button to see what happens.

It seems I am making some mistake but cannot figure it out.

TIA


Yogi Yang
1   L A T E S T    R E P L I E S    (Newest First)
yogiyang Posted - Nov 23 2018 : 08:12:36
Hello,

On further investigation of this problem I have found that if I select the Background Layer and then do LayersAdd then the LoadSelection is working just great and as expected, meaning the loaded selection comes in the same size as was saved.

But if the Background layer is very large then the time taken to add a new layer increases substantially.


Yogi Yang