## Rotating an Image by 45 Degrees in MSPaint

MS Paint can do almost anything photoshop and many other advanced image editing programs. For example, rotating an image by an arbitrary angle. Of course, it'll take a little bit of math, but it can be done.

Consider the following image loaded up in mspaint...

Now let's suppose you wanted to rotate that square by 45 degrees. Of course, in the rotate menu, your only options are in increments of 90 degrees. However, there is a stretch and skew menu also.

Step 1, select a nice square around the region you wish to rotate. Use the selection tool.

Yeah, that's good.

Now, go into the Stretch and Skew menu located under the Images menu. Or press Ctrl + W. Then Skew your image horizontally to the right 45 degrees.

Looking good!

Ok, now select a new region. You could hypothetically use the same region, however mspaint will view that as one move, and if you have the need to Ctrl + Z anything, you'll have to start over.

After you select the new region, Go back to the Stretch and Skew menu and skew it vertically down 26 degrees. (Type -26 into the vertical skew box)

Now I'm getting excited!

Of course, it's a little flattened, so select the region again and go back into the stretch and skew menu and stretch it horizontally by 50%.

Voila!

Expect some shrinkage, though. If size is important, stretch your image by 140% to begin with before starting. That'll make it roughly the original size when you apply this process.

Consider the following image loaded up in mspaint...

Now let's suppose you wanted to rotate that square by 45 degrees. Of course, in the rotate menu, your only options are in increments of 90 degrees. However, there is a stretch and skew menu also.

Step 1, select a nice square around the region you wish to rotate. Use the selection tool.

Yeah, that's good.

Now, go into the Stretch and Skew menu located under the Images menu. Or press Ctrl + W. Then Skew your image horizontally to the right 45 degrees.

Looking good!

Ok, now select a new region. You could hypothetically use the same region, however mspaint will view that as one move, and if you have the need to Ctrl + Z anything, you'll have to start over.

After you select the new region, Go back to the Stretch and Skew menu and skew it vertically down 26 degrees. (Type -26 into the vertical skew box)

Now I'm getting excited!

Of course, it's a little flattened, so select the region again and go back into the stretch and skew menu and stretch it horizontally by 50%.

Voila!

Expect some shrinkage, though. If size is important, stretch your image by 140% to begin with before starting. That'll make it roughly the original size when you apply this process.

User Comments: 14

Post by ikanreed on 10 Cado 9:0 - 10.92.20

Not 140% that's lazy.

SQRT2/2

SQRT2/2

Post by beary605 on 10 Cado 12:0 - 17.49.70

how about rotating by any other angle EX 20 degrees or 39 degrees

Post by eofpi on 10 Cado 12:0 - 18.65.28

Other angles require trigonometry.

Post by gws on 10 Cado 12:1 - 6.43.40

eofpi said:

Other angles require trigonometry.

And linear algebra.

Post by Blake on 10 Cado 12:1 - 8.96.94

And wizards.

Post by Never on 10 Cado 12:3 - 5.44.84

'Mages' is the PC term. ;)

Post by DIAV on 13 Ineo 13:4 - 3.24.3

Post by hjimage on 13 Cado 0:0 - 16.97.13

MSPaint is really a good image rotating tool . but can you tell me how to install this image sdk.

Post by David Russell Watson on 15 Ineo 9:4 - 10.80.65

Note that skewing the image vertically *down* requires two steps in MSPaint.

It's necessary to flip the image horizontally after skewing it horizontally and before skewing it vertically.

It's necessary to flip the image horizontally after skewing it horizontally and before skewing it vertically.

Post by DIAV on 15 Ineo 10:4 - 2.17.55

I don't think that's quite right.

Why not just skew it vertically first?

Why not just skew it vertically first?

Post by David Russell Watson on 15 Cresco 2:2 - 16.75.23

When you say "skew it vertically first" do you mean *before* flipping the image horizontally rather than right after, or rather do you doubt the need to flip it horizontally at all?

In Blake's 4th illustration from the top the rhombus has to have its right side brought *down* to produce the diamond shape in his 5th illustration, and he says, correctly, that one needs "skew it vertically down 26 degrees".

However MSPaint offers no option to skew up or down, but only raises the right side of the image to the specified degree. Therefore to skew the left side up, which is the same thing as skewing the right side down, as we need to do here, requires flipping the image horizontally first.

Do try it both ways and see what happens :·)

In Blake's 4th illustration from the top the rhombus has to have its right side brought *down* to produce the diamond shape in his 5th illustration, and he says, correctly, that one needs "skew it vertically down 26 degrees".

However MSPaint offers no option to skew up or down, but only raises the right side of the image to the specified degree. Therefore to skew the left side up, which is the same thing as skewing the right side down, as we need to do here, requires flipping the image horizontally first.

Do try it both ways and see what happens :·)

Post by David Russell Watson on 15 Cresco 2:2 - 16.84.91

Oh hold up! I only just now discovered/realized that you can enter a negative value in the skew box, and so MSPaint can in fact "skew down".

Rereading Blake's instructions more carefully now I see that he did specify -26.

So... NEVERMIND :·)

Rereading Blake's instructions more carefully now I see that he did specify -26.

So... NEVERMIND :·)

Post by jonathanscottjames on 16 Cresco 4:2 - 1.29.33

i serendipitously used speech search on google and said

"square root of the square root of 45 times 26"

and it yielded about 174 then i tried it with 27 and got about 181..

then i put pyrinthacies on it and it changed. so i guess it's (sqr45)*26

but i was uninspired to see if it works with other numbers to see if it is a useful algorithm

"square root of the square root of 45 times 26"

and it yielded about 174 then i tried it with 27 and got about 181..

then i put pyrinthacies on it and it changed. so i guess it's (sqr45)*26

but i was uninspired to see if it works with other numbers to see if it is a useful algorithm

Post by jonathanscottjames on 16 Cresco 4:2 - 1.37.6

oh, i can't edit that..

i want to clarify

it looks like maybe where the desired rotation angle is R

((sqr R)* x )=180

yet i dropped out of my youtube geometry lessons and am uninspired to go back so,,, "take it from here"

i want to clarify

it looks like maybe where the desired rotation angle is R

((sqr R)* x )=180

yet i dropped out of my youtube geometry lessons and am uninspired to go back so,,, "take it from here"

You must be logged in to add a comment