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
 Having problem using Select
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
725 Posts

Posted - Nov 20 2018 :  02:34:31  Show Profile  Reply
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

yogiyang

India
725 Posts

Posted - Nov 23 2018 :  08:12:36  Show Profile  Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: