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
 Merge two JPG images into one
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

BMurdoch

USA
8 Posts

Posted - Mar 12 2014 :  16:30:29  Show Profile  Reply
I have two JPG images that I need to merge into one large image, by appending the second image below the first. How can I do this using ImageEN?

Thank you.

spetric

Croatia
308 Posts

Posted - Mar 15 2014 :  03:56:21  Show Profile  Reply
Didn't try it, but I think that LayersInsert method would do the task.
So, if you have only one image in ImageEnView, it's in layer 0.

LayersInsert(0) will create (I hope so) a new 0 layer and original image
will be in layer 1. Then, assign second image to layer number 0.

Go to Top of Page

xequte

38611 Posts

Posted - Mar 16 2014 :  13:12:14  Show Profile  Reply
Hi

Why not load both JPEGs into TIEBitmaps, resize one of the IEBitmaps, and use a copy method to merge the content:

http://www.imageen.com/help/TIEBitmap.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: