Re:Rotating images
Quote
JP Holtzhausen wrote:
> Could someone please brief me in the basics of anti-alias rotation of
> images ? I've already tried rotating every pixel x degrees, but the
> result is...well...unsatisfying. Any help?
> P Holtzhausen
You could compute the coordinates of the new corners of the image to
determine the region the new image will occupy. Then go through every
coordinate in that region, apply the reverse rotation to it, and take
the color from the pixel in the original image at that location. This
way, all pixels in the new image will be filled in. This isn't
exactly anti-aliasing, but it should work better than what you're
doing now. BTW, I've never tried this, so I have no idea if it will
work.
Good Luck!
Jared Showalter
Remove the REMOVETHIS in my address to reply.