Groups | Blog | Home
all groups > dotnet drawing api > june 2005 >

dotnet drawing api : How to scale Image/Bitmap



yogee
6/22/2005 10:50:02 PM
Hi,

I have bitmap object of size AxB. Now I want to scale to 80%.
Here by scalling I mean Strech or shrink the image.

I am not able to see any functionality available in Bitmap/Image object.
Please help me in finding the direct way to do it.

Language : VB.net
..net Framework : 1.1

Thanks,
Bob Powell [MVP]
6/23/2005 12:00:00 AM
See the Graphics.DrawImage command.

For beginners help see the GDI+ FAQ and follow the link to the beginers
guide


--
Bob Powell [MVP]
Visual C#, System.Drawing

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.





[quoted text, click to view]

AddThis Social Bookmark Button