how to rotate image with anti-aliasing?

MyDevAccount
07-31-2006, 12:52 AM
Hi guys

Does anyone know how to rotate an image using VB.Net/GDI+ and anti-alias the edges of the image so that it looks nice. I've used Graphics.RotateTransform() with InterpolationMode.HighQualityBicubic and SmoothingMode.AntiAlias set okay. But it only antialiases the bottom/right sides of the image, it doesn't do the top and left sides?

Thanks in advance!

jorge menchu
08-03-2006, 11:09 PM
I think I came across a post that mentioned turning the postion of the image into a path and then filling the path with a texture - the original image is used for the texture and transformed accordingly.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum