Image size?

  • Thread starter Thread starter perspolis
  • Start date Start date
P

perspolis

hi all
I want to decrease size of an image without losing it's content.
for example decreasing size of an image by 20%.
thx in advance
 
You can do this by setting the SizeMode to StretchImage (using a PictureBox)
 
after using StretchImage then can I save tht pic with it's new size.?
 
you can use:
Image.GetThumbnailImage(Width,Height,null,IntPtr.Zero);

hth,
saso
-----Izvirno sporoèilo-----
Od: perspolis [mailto:[email protected]]
Poslano: 30. maj 2005 10:04
Objavljeno v: microsoft.public.dotnet.languages.csharp
Pogovor: Image size?
Zadeva: Image size?

hi all
I want to decrease size of an image without losing it's content.
for example decreasing size of an image by 20%.
thx in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top