Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: rotate top left

$
0
0
Hi Arjun,

The SRT distort is the correct method to use. But instead of us 0,0, you need to use a negative value. 0,0 is the center of the image.

So for top left, you need to use this:
img150.Distort(DistortMethod.ScaleRotateTranslate, (0 - (img150.Width / 2)), (0 - (img150.Height / 2)), 60);

Viewing all articles
Browse latest Browse all 3693

Trending Articles