Login | Register

Nerd Paradise

Pardon me, would you have any Grey Poupon?

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


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



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: 11
Post by ikanreed on 10 Cado 9:0 - 10.92.20
Not 140% that's lazy.

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 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.
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.
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?
You must be logged in to add a comment
Current Date: 15 Cresco 2:1Current Time: 1.52.1Join us in IRC...
Server: irc.esper.net
Channel: #nerdparadise
Your IP: UnknownBrowser Version: 0