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
 LayersGroup when used adds extra resize handle
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
727 Posts

Posted - Dec 13 2016 :  02:39:22  Show Profile  Reply
Hello,

I think this is a bug which was brought to my notice by one of our software user.

When we group multiple layers ImageEnView tends to add a hanlde to the top right corner of ImageEnView. If we pull this handle if distorts all grouped layers.

For test case please open the shipped Layers demo (ImageEn\Demos\ImageEditing\Layers). Compile and run it.

Load an Image.
Load another two or more images on separate layers.
Set one layer into Mask Layer
Group any two layers including mask layer

And you will be abelt see a small handle on the top right corner of the control.

The easier way is to load an existing layer file like a .psd file and use this script to group selected layer with mask layer if it exist.
var
  idx: Integer;
begin
  if ImageEnView1.IsEmpty then
    exit;

  idx := ImageEnView1.LayersCurrent;
  if ((idx + 1) <= (ImageEnView1.LayersCount - 1)) then
    if ImageEnView1.Layers[idx + 1].IsMask then
      ImageEnView1.Layers[idx + 1].Selected := True;
  ImageEnView1.LayersGroup(True);

  RefreshControls;
end;


TIA


Yogi Yang

xequte

38610 Posts

Posted - Dec 13 2016 :  15:17:59  Show Profile  Reply
Hi Yogi

I'm not seeing that. Can you send me the a screenshot to be sure I'm looking for the same thing.

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

yogiyang

India
727 Posts

Posted - Dec 17 2016 :  00:55:37  Show Profile  Reply
Hello,

Please find attached a demo showing the problem.

attach/yogiyang/2016121704323_Layers.zip
39.29 KB

Instructions for testing are provided previously.


TIA


Yogi Yang
Go to Top of Page

xequte

38610 Posts

Posted - Dec 18 2016 :  19:07:35  Show Profile  Reply
Thanks Yogi,

I cannot reproduce it, but we have been doing a huge amount of work on layers over the last few months (for 7.0.0) and I expect it has been resolved.

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

yogiyang

India
727 Posts

Posted - Dec 19 2016 :  07:19:09  Show Profile  Reply
Hello Nigel,

Wow!!! That is great!

BTW when are you planning to release version 7 of IE?

TIA


Yogi Yang
Go to Top of Page

xequte

38610 Posts

Posted - Dec 22 2016 :  04:36:43  Show Profile  Reply
Hi

We are expecting to release in the first quarter of 2017 (but it is a huge update, so we cannot be more specific than that).


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

yogiyang

India
727 Posts

Posted - Dec 22 2016 :  05:17:18  Show Profile  Reply
Hello,

If you want to beta test I am available for beta testing...

Regards,


Yogi Yang
Go to Top of Page

yogiyang

India
727 Posts

Posted - Jan 03 2017 :  01:00:12  Show Profile  Reply
Hello,

Finally I got myself to take a screen shot of the Layers Demo to show the problem in my OP.

Please check attached image I marked the problem witn a black color box (under file menu:

Here I have selected two layers (Layer 1 and Layer 2) and grouped them. Here Layer 2 is a Mask. After doing this when the users selects Layer 1 or Layer 2 this resizing handle shows up....!

Regards,


Yogi Yang
Go to Top of Page

w2m

USA
1990 Posts

Posted - Jan 03 2017 :  09:00:27  Show Profile  Reply
Yogi,

I can not duplicate this here with the Layers demo. Here is a screenshot. I'll try your demo next.


Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

w2m

USA
1990 Posts

Posted - Jan 03 2017 :  09:17:07  Show Profile  Reply
Your demo does not show any problems here. Try adjusting your images so that none of them are near the edge of the component and see if you get the same result.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

yogiyang

India
727 Posts

Posted - Jan 03 2017 :  09:26:48  Show Profile  Reply
Hello Bill,

Thank you for your inputs.

Please check my previous post...

 
Here I have selected two layers (Layer 1 and Layer 2) and grouped them. Here Layer 2 is a Mask.

If the currently selected layer (1 only) does not have a mask layer above it (Fro the mask layer to take effect it has to be hidden also), then you will not notice this problem.[/quote]

I have send a sample PDF file through WeTransfer to Nigel for testing purpose also.

TIA


Yogi Yang
Go to Top of Page

w2m

USA
1990 Posts

Posted - Jan 03 2017 :  09:42:14  Show Profile  Reply
 
I cannot reproduce it, but we have been doing a huge amount of work on layers over the last few months (for 7.0.0) and I expect it has been resolved.

It probably not worth exploring further when you consider layers have been reworked and will be available soon. I'd wait until version 7 and then do some more testing.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: