Cropping an image - exactly

Post questions on how to use or achieve an effect in Inkscape.
shmookay
Posts: 1
Joined: Wed Nov 27, 2013 5:41 am

Cropping an image - exactly

Postby shmookay » Wed Nov 27, 2013 5:47 am

Hello Al,
I would like to import a photo and cut out a specific area for use in a graphic. For example, I want the car in the picture, without the surrounding background.

Much thanks

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Cropping an image - exactly

Postby tylerdurden » Wed Nov 27, 2013 11:12 pm

I generally do that type of operation on raster images in GIMP with the eraser, save as a PNG with transparency, then bring into Inkscape.

If the imported photo is a vector image, the objects can sometimes be moved to a layer and the other bits hidden or deleted.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

User avatar
Maestral
Posts: 982
Joined: Sat Aug 27, 2011 7:10 am

Re: Cropping an image - exactly

Postby Maestral » Thu Nov 28, 2013 1:04 am

Take a look at these....

Masking and Clipping or SIOX Tracing
:tool_zoom: <<< click! - but, those with a cheaper tickets should go this way >>> :!:

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: Cropping an image - exactly

Postby hulf2012 » Thu Nov 28, 2013 1:08 am

Hello:

If you don't want to do it in a graphic-bitmap editor, then similar results can be done with the clipping tool and exporting the "croped" graphic to PNG

- About cliping (and masking):
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Clip.html

- About exporting to PNG:
http://tavmjong.free.fr/INKSCAPE/MANUAL ... Export-PNG

- About "exactly"... well, it depends of your pulse and your eye in this case.
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Cropping an image - exactly

Postby Lazur » Thu Nov 28, 2013 2:02 am

In addition:

Open the raster image in inkscape,
trace the part you want to cut out, and delete the raster image,
then save as an svg.

After that, open the raster image in gimp and open the svg on a new layer as paths.
You can then draw a mask layer of that path and apply it on the raster image.


Return to “Help with using Inkscape”