5

I'm trying to superimpose a straight line onto a .png image. GIMP is notoriously impossible to use for simple things, so people have suggested Pinta.

However, as far as I can tell, the only lines you can draw with this program are freeform ones, i.e., there doesn't appear to be anything like a ruler tool. How can I draw a straight line?

Or is there another program that does it? Again, I need to be super-imposing on an existing .png file, so Xfig won't work.

4
  • With the tool Line/curve Commented Nov 4, 2019 at 22:17
  • Alternative program: mtpaint
    – FelixJN
    Commented Nov 5, 2019 at 8:14
  • Thanks very much! mtpaint looks as though it will work. Wish the documentation were a bit easier to deal with. The handbook looks thorough but, for example, it's hard to find information on the simple stuff like here's how do draw a line, change the linewidth and set the color. But I'll figure it out, hopefully
    – Leo Simon
    Commented Nov 6, 2019 at 3:04
  • Re pinta, I've been looking everywhere for a Line/curve tool and am for some reason unable to find it!
    – Leo Simon
    Commented Nov 6, 2019 at 3:08

1 Answer 1

5

This is easy: use Pinta's Line/Curve tool. In the screenshot below, my mouse pointer is over the icon for this tool:

enter image description here

When you first run Pinta, the Tools area might be narrow and so you might not see this icon. If you widen the Tools area then you will see it.

6
  • This works as expected. However, my goal is to super-impose lines on an imported graphic. Whenever I try to do that, the program crashes with this message ================================================================= Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application Can you advise how to import a graphic, and draw over it, without the program crashing? Thanks very much! Leo
    – Leo Simon
    Commented Apr 16, 2020 at 5:41
  • @LeoSimon: What operating system are you running? What version of Mono? What version of Pinta? Commented Apr 17, 2020 at 6:03
  • @AdomDingle, I'm running ubuntu 18.04, with pinta 1.6 and mono 4.6.2, though I didn't know that mono was involved. I'm certainly not calling it explictly, maybe pinta does?
    – Leo Simon
    Commented Apr 18, 2020 at 16:26
  • @LeoSimon: Yes, Pinta is a Mono application. I would upgrade to Ubuntu 20.04, the new LTS release. I'm running that release, and I just ran Pinta, dragged in a JPG image, drew a few lines and saved the image, and it worked with no crash. Commented May 9, 2020 at 4:19
  • @AdamDingle why is this called line/curve tool, if it only draws curves? I could not create a line consisting of several segments where the corners would not be rounded.
    – Palo
    Commented Apr 14, 2022 at 22:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .