|
-
Mar 7th, 2007, 08:36 PM
#1
Thread Starter
Lively Member
[2005] Loading picture
I have a picture which consist of many picture, how to read the small picture one by one???
-
Mar 7th, 2007, 11:50 PM
#2
Re: [2005] Loading picture
Are you saying that you have multiple image files and you want to create a single large image containing them all?
-
Mar 9th, 2007, 05:57 AM
#3
Thread Starter
Lively Member
Re: [2005] Loading picture
NoNo
Sorry for my poor english (I am chinese)...
Let me explain again
Do you play LF2 before?
A jpeg file which contain many picture (every picture is in one rectangle)
How can I read the picture one by one?
-
Mar 9th, 2007, 06:37 AM
#4
Re: [2005] Loading picture
I'm not sure if there's another way but you can create an Image object from the entire image, then create a new Bitmap object of the dimensions of a sub-image, then create a Graphics object from the new Bitmap, then use the appropriate overload of Graphics.DrawImage to draw the desired portion of the original Image onto the new Bitmap.
-
Mar 9th, 2007, 07:13 AM
#5
Re: [2005] Loading picture
 Originally Posted by s021126
NoNo
Sorry for my poor english (I am chinese)...
Let me explain again
Do you play LF2 before?
A jpeg file which contain many picture (every picture is in one rectangle)
How can I read the picture one by one?
Hi,
I think you can use a Thumbnail for that.
So, here's a link where you can find some information how it works.
http://www.codeproject.com/dotnet/multiImageViewer.asp
You can also try the Image.GetThumbnailImage method.
http://msdn2.microsoft.com/en-us/lib...nailimage.aspx
Wkr,
sparrow1
Last edited by sparrow1; Mar 9th, 2007 at 07:20 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|