|
-
Mar 13th, 2004, 11:24 AM
#1
Thread Starter
Addicted Member
Resizing pictures
How can we resize pictures from big one to the small one? From 1024*768 to 800*600
Thank you,
-
Mar 13th, 2004, 01:35 PM
#2
Sleep mode
One of multiple ways , is this :
VB Code:
Dim img As Image = Image.FromFile("c:\test.jpg")
Dim newimg As New Bitmap(img, 800, 600)
You can check the different constructor overloads of Bitmap obj for other ways .
-
Mar 13th, 2004, 01:47 PM
#3
Addicted Member
whoa didn't know it was that easy. thanks.
[vbcode]
Me.Hide()
[/vbcode]
-
Mar 13th, 2004, 03:30 PM
#4
Fanatic Member
Yo P
Is that the same for asp.net ????
one of the things im working on soon will be involving uploading an image to the server then resizing it
Thanks bud
Carl
I am curretly building a defect management system for software and web developers,
If you wana try it out (beta test) and keep it for free just send me a message
-
Mar 13th, 2004, 03:34 PM
#5
Sleep mode
If I'm not wrong , Image or Bitmap accept stream obj instead of specifying path file , plus width and height of the image . It should be dead easy job .
-
Mar 13th, 2004, 04:14 PM
#6
Fanatic Member
nice one thats what i like to hear
I am curretly building a defect management system for software and web developers,
If you wana try it out (beta test) and keep it for free just send me a message
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
|