Open

by damned truths

submit your photo


Hall of Fame
View past winners from this year

Please participate in Meta
and help us grow.

Take the 2-minute tour ×
Photography Stack Exchange is a question and answer site for professional, enthusiast and amateur photographers. It's 100% free, no registration required.

I need a program that will square an out-of-square photo. For some images, I can just rotate, but even then getting the scene precisely level can be tedious. It'd be nice to do it automatically. For other images, the off-square angles might be more complex — a tall building may be distorted. What software can I use to fix this?

share|improve this question
1  
Your question currently doesn't make any sense as it is worded. Could you please edit it and clarify what you are asking? –  jrista Jan 17 '11 at 6:07
3  
"squaring up" in some trades refers to making something straight, so I think the questioner is talking about rotating photos. –  Matt Grum Jan 17 '11 at 11:33
    
possible duplicate of Are there any tools out there to automatically rotate an image? –  mattdm Dec 5 '11 at 3:32
    
Here's a good article on perspective distortion. –  Caleb Dec 3 '13 at 16:12

4 Answers 4

If you're referring to rotating a wonky image like I think you are then there are many tools available to you, a good free option being the Gimp (as suggested by Ysap) or ImageMagick if you want to batch rotate many images from the command line.

If you're talking about automatically rotating images to straighten the horizon then I'm afraid the technology isn't quite there yet, see this question:

Are there any tools out there to automatically rotate an image?

share|improve this answer

Gimp has a useful plugin that makes it easy to straighten and crop a misaligned photo (assuming that this is what you really mean)
You can get it here.
All you have to do is trace a line on the photo that should be horizontal and Gimp will rotate the photo until it is horizontal, and optionally crop it.

share|improve this answer

If by "out of square" you mean non-square / rectangular:

  1. For cropping an image - virtually any photo editor (even Microsoft Paint) will let you crop or cut/paste your image to a square form.

  2. For transforming an image - GIMP (free) and Photoshop ($$) are two powerful but heavy options. Both will do much more than geometry transform or image crop. Well, MS Paint will let you stretch an image as well, but the results will be inferior to what you can get with the former two.

share|improve this answer

If you're looking to apply this cropping to a lot of images at once and are comfortable using the command line, then give ImageMagick a try. It's a very commonly-used command-line utility for manipulating images.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.