> Okay, I figured out how to resize an image by creating a new bitmap and
> specifying the new size when I do.
>
> I don't suppose there's any support for resizing with anti-aliasing so
> that I get a smoother image is there? Any tips?
Yes (ignoring for the moment any semantic difference between
"anti-aliasing" and "interpolation" :) ).
Create a new empty Bitmap rather than using one Bitmap as the source for
another, get a Graphics instance from that Bitmap, set the interpolation
quality you want on the Graphics instance, and use Graphics.DrawImage() to
render the original bitmap into the new Bitmap.
Pete
Jonathan Wood - 22 Jul 2007 21:06 GMT
Peter,
>> Okay, I figured out how to resize an image by creating a new bitmap and
>> specifying the new size when I do.
[quoted text clipped - 4 lines]
> Yes (ignoring for the moment any semantic difference between
> "anti-aliasing" and "interpolation" :) ).
Thanks for the correction.
> Create a new empty Bitmap rather than using one Bitmap as the source for
> another, get a Graphics instance from that Bitmap, set the interpolation
> quality you want on the Graphics instance, and use Graphics.DrawImage() to
> render the original bitmap into the new Bitmap.
I didn't quite follow every bit of that but I'll bet I can figure it out
from your description. And I'm thrilled that this can actually be done!
Thanks!

Signature
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com