clip imported raster just inside colored line

Post questions on how to use or achieve an effect in Inkscape.
hiccup
Posts: 6
Joined: Tue Oct 09, 2018 12:49 pm

clip imported raster just inside colored line

Postby hiccup » Wed Oct 10, 2018 6:51 am

hi -
here's a map of a country with a red border:
https://upload.wikimedia.org/wikipedia/ ... graphy.png

i've imported the .png and now want to clip it to just show what's inside the red border.

tracing results in a huge complicated mess of paths and nodes that basically cause inkscape to hang when i try to intersect/difference them with pencil-drawn paths to try to isolate the border. i feel like i must not be approaching this correctly, what's the right way to do it?

thanks!
-erik

Polygon
Posts: 312
Joined: Thu Dec 19, 2013 3:27 am

Re: clip imported raster just inside colored line

Postby Polygon » Wed Oct 10, 2018 7:47 am

Not sure about your expertise in Inkscape: You can try to autotrace for 3 or 4 colors and go with the red part only. Close the path at the coast and separate the objects - select the one you need and cut it - delete the redundant objects and paste back the cut part. move it over the map and use it to as a clipping mask. If that´s too much effort you can easily set points along the red border with the pen-tool till it´s closed and use it as a clipping mask.
Maybe like so:
Clipping.jpg
Clipping.jpg (61.35 KiB) Viewed 333 times

Cheers

User avatar
brynn
Posts: 9995
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: clip imported raster just inside colored line

Postby brynn » Thu Oct 11, 2018 8:08 am

I would probably trace the red line with the Pen tool, and use that to clip the raster image. Or trace the inner edge of the red line.


Return to “Help with using Inkscape”

Who is online

Users browsing this forum: No registered users and 7 guests