Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

How do I find the middle, or n/th division or percentage of distance between two arbitrary points in GIMP?

Like, I have an object / a line of arbitrary length / two guides, placed in arbitrary place of the image. I want to place an object/marker/guide/whatever right in the middle of it, or precisely at 1/3 of it, and I want to do it with a bit of precision, not "by eye".

Is there any easier way than finding the pixel locations of the ends of the line and calculating proportions in a calculator on the side, or using Thales Theorem to "construct" the point?

(the one I found: draw a line the full distance on a separate layer, then use the "scale" tool to scale it by given percentage... but it feels extremely clunky)

share|improve this question
    
Your methods seem reasonable to me. –  e100 Apr 18 '12 at 15:30
add comment

1 Answer 1

Your method already seems like the best way to do it (using coordinates and calculator that is).

However, if you need to do it for too many items you could write a gimp-script that saves you time. Here's a tutorial on how to write those : http://gimp.open-source-solution.org/manual/gimp-using-script-fu-tutorial-first-script.html

share|improve this answer
    
Great to see some Gimp insight! –  Yisela Sep 27 '12 at 21:45
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.