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
 How to combine two images
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

clandon@apamce.com

USA
26 Posts

Posted - Apr 17 2016 :  03:22:08  Show Profile  Reply
Hi,

I would like to be able to combine parts of two images into a third image in a variable way. Examples of this would be a third image with: The left half of image A on the left combined with the right half of Image B on the right; the top of image A above, the bottom of image B below; the outer part of image A on the outside and the inner part of image B on the inside.

How could I accomplish this with ImageEn for Delphi ? Can I copy part of one image and paste it over the same part of another ? How would I programmatically specify which part to use ? Could I use a selection box or ellipse with adjustable borders to indicate the part of one image to copy and paste over another ? How about if I wanted to have diagonal borders ? Can I rotate a selection box ? Can I use a mask image to select the area ? Perhaps I can generate a mask live so it can be adjusted. The purpose of the program would be to directly compare two images. What tools are available in ImageEn to do this ?

xequte

39053 Posts

Posted - Apr 17 2016 :  18:22:29  Show Profile  Reply
Hi

This can be handled by the built in selection routines of TImageEnView.

See the Selections section at:

http://www.imageen.com/help/TImageEnView.html

Particularly: CopySelectionToBitmap, ApplyBitmapToSelection


Also see MouseInteract which controls the selection type:

http://www.imageen.com/help/TImageEnView.html

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: