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
 Bug - Cropping Layers After Merge Fails
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

w2m

USA
1990 Posts

Posted - Mar 20 2014 :  07:12:24  Show Profile  Reply
There is a bug when merging layers. Merging always expands the bitmap when a layer is positioned off the background image even though the cropped property is set to True for all layers.

This should crop layers so the image does not expand when merging - unfortunately after a merge the bitmap grows to accommodate all layers even though cropped is true.
ImageEnView1.CurrentLayer.Cropped := True;

Please fix this as it is causing a lot of problems for developers. Fabrizio is aware of the problem but this has not been fixed yet. I see this as a critical fix.

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Custom ImageEn Development

xequte

38610 Posts

Posted - Mar 25 2014 :  01:47:45  Show Profile  Reply
Hi Bill

At this stage, LayersMerge does not support cropping.

You must use ImageEnView1.LayersMergeAll() to crop to the background.

Note: This method does not support the alpha channel



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: