Login | Register

Nerd Paradise

↑ ↑ ↓ ↓ ← → ← → B A start

Rotating an Image by 45 Degrees in MSPaint

Tags: MSPaint
Post by: Blake
Posted on: 10 Cado 8:4 - 15.15.81
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...

mspaint_rotate_01.png

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.

mspaint_rotate_02.png

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.

mspaint_rotate_03.png

Looking good!

mspaint_rotate_04.png

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)

mspaint_rotate_05.png

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%.

mspaint_rotate_06.png

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.
facebook twitter Stumbleupon Reddit del.icio.us Digg
User Comments: 13
Post by ikanreed on 10 Cado 9:0 - 10.92.20
Not 140% that's lazy.

SQRT2/2
beary605
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.
gws
Post by gws on 10 Cado 12:1 - 6.43.40
eofpi said:
Other angles require trigonometry.

And linear algebra.
blake
Post by Blake on 10 Cado 12:1 - 8.96.94
And wizards.
never
Post by Never on 10 Cado 12:3 - 5.44.84
'Mages' is the PC term. ;)
Post by fbimage on 13 Ineo 13:4 - 0.87.78
great work. i like image app which can rotate images c# to any arbitrary angle. also zoom and scale. keep up the work.
diav
Post by DIAV on 13 Ineo 13:4 - 3.24.3
Never said:
'Mages' is the PC term. ;)


And presumably iMages for the Mac.
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.
diav
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?
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 :·)
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 :·)
You must be logged in to add a comment
Current Date: 15 Cresco 7:1Current Time: 11.90.94Join us in IRC...
Server: irc.esper.net
Channel: #nerdparadise
Your IP: 50.19.53.104Browser: UnknownBrowser Version: 0