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
 How to combine two images

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
clandon@apamce.com Posted - Apr 17 2016 : 03:22:08
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 ?
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Apr 17 2016 : 18:22:29
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