[.NET 3.0] How to work with images?

P

Poly

I need to load image from disk (stream) and to resize it
in 500-500px and 100-100 px.
How can i make it?

In 2.0 i used GDI+. I can use it now, but i think that there is more
good mechanics to do this. But i cant find it.

How knows how to do it?

best regards
Dmitrij Polyanin
 
J

Jameson

Ok leon, bad advice. There is no need to point him to WPF for such a simple
operation.

Real advice is here...

Dim i_error As Image.GetThumbnailImageAbort
Dim i As Image
i = yourimage.GetThumbnailImage(width, height, i_error, 0)

"i" is yourimage resized to the dimensions you want.
 

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

Top