I have an upload image function. But i want it to resize the image if it's too big. Any ideas?
Printable View
I have an upload image function. But i want it to resize the image if it's too big. Any ideas?
Use Graphics.DrawImage() to draw it onto a smaller bitmap object and then just re-save it overwriting the original.
This will be quite primitive resizing and will not be as good as say using a script in Photoshop.
Can I use it to change the image dimensions?
check out my codebank sample for high-quality image resizing
http://www.vbforums.com/showthread.php?t=383136