how to load and resize/autofit image based the picturebox1?
Printable View
how to load and resize/autofit image based the picturebox1?
Here is a simple demo which I just put together. Hope it helps!
another "easy" way is to use SetStretchBltMode and StretchBlt
will give u "halftone", its not the best but okish.
if u want better interpolation, u can use GDI+ or WIA2