After scanning a bank check in duplex, we want to join the front and back into 1 image. This would require a new image being twice the height of the check, then placing the front image in the top half, and the back image in the bottom half.
Can this be done? If so, can you supply an example of the joining, or point me in the right direction?
Thanks in advance.
Edwin
Join or Stitch 2 Images
-
- Posts: 352
- Joined: Tue Sep 27, 2011 11:47 am
Re: Join or Stitch 2 Images
Hi,
Yes, this can be easily done, what you need is to:
1. Create a new image with the size of both images (if you want to align horizontally them height of the biggest image, and the width of image 1 + width image 2).
You can achieve that using https://www.gdpicture.com/guides/gdpicture/GdP ... Image.html
2. Draw the first image at coordinates 0, 0 using https://www.gdpicture.com/guides/gdpicture/GdP ... Image.html
3. Draw the second image at coordinates (image 1 width, 0) using the same function
If you need any more help please do not hesitate to ask.
Best,
Sami
Yes, this can be easily done, what you need is to:
1. Create a new image with the size of both images (if you want to align horizontally them height of the biggest image, and the width of image 1 + width image 2).
You can achieve that using https://www.gdpicture.com/guides/gdpicture/GdP ... Image.html
2. Draw the first image at coordinates 0, 0 using https://www.gdpicture.com/guides/gdpicture/GdP ... Image.html
3. Draw the second image at coordinates (image 1 width, 0) using the same function
If you need any more help please do not hesitate to ask.
Best,
Sami
Who is online
Users browsing this forum: No registered users and 2 guests