Wrox Programmer Forums
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 17th, 2007, 07:57 PM
tal tal is offline
Authorized User
 
Join Date: Apr 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default join images?

Hi guys,
I'm trying to load 2 images from files and create a third image which is the joined image. for example, if i have two 2*2 image, i'd like to create one 4*2 image:
given :
@@ $$
@@ $$

create:

@@$$
@@$$

I load the images using PictureBox, but then i'm stuck..

any ideas ??:(

Thanks!

 
Old April 17th, 2007, 09:24 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Look into the classes under the System.Drawing namespace. You can create a blank image and "draw" the other images onto the blank images canvas.

-Peter
 
Old April 19th, 2007, 12:20 PM
tal tal is offline
Authorized User
 
Join Date: Apr 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, the way to do it is to get the PictureBox's graphics and use it's DrawImage method.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Load Images from and Save Images to a Database cyndie VB.NET 2 August 17th, 2008 06:42 AM
Need Help with Inner Join YardenST SQL Language 1 May 31st, 2006 02:39 AM
Join rajkumar007 SQL Server 2000 3 October 20th, 2005 03:20 PM
Oracle 8i inner join and left join problem puteri_84 Oracle 2 August 19th, 2004 07:14 AM
join erin SQL Language 4 October 27th, 2003 03:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.