locked
Rotating an image RRS feed

  • Question

  • User-1631615131 posted

    Hey,

    I am rotating an image around a predefined point and at a random angle. The image is being rotated correctly but when it is displayed on the page it is being clipped because the width and height have changed from the original image.

    I have been searching for a way of working out the dimensions of the rotated image so I can display it on the page correctly. I think I am missing something really obvious!

    Does anybody know how I can rotate the image correctly?

    Thanks in advance,

    Anil

    Thursday, July 23, 2009 3:11 PM

Answers