How can I crop an SVG file with Inkscape? As in, I have an SVG file, and I want a smaller SVG file that contains a rectangular portion of it. Seems pretty basic, right? What's the simplest way to do it? Keenan Pepper ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
on 2007-06-20 06:03
on 2007-06-20 06:15
See, this is why we need a central forum. So users can search for these common questions. Keenan, It's pretty easy. Simply draw a square around the area you want visible. Make sure it's the VERY top layer or object. Then CTRL+A OBJECT>CLIP>SET Your image is now cropped. Keep in mind though, they objects are still there, they're just hidden. If you export it, you will be able to export the selection and only the visible areas will be exported. Keenan Pepper wrote: > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Inkscape-user mailing list > Inkscape-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/inkscape-user > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
on 2007-06-20 06:40
On 6/19/07, Dave Niezabitowski <dniezby@comcast.net> wrote: > Your image is now cropped. > Keep in mind though, they objects are still there, they're just hidden. > If you export it, you will be able to export the selection and only the > visible areas will be exported. That makes everything else invisible, but the dimensions of the SVG file and the part I'm interested in are unchanged, so I get a big mostly blank image with a tiny thing inside it. How can I actually make the SVG file smaller, so the part I'm interested in fills the whole frame? Also, it would be nice if I could really get rid of everything outside the crop region, so that the size of the SVG file (in terms of bytes) gets smaller. Keenan ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
on 2007-06-20 06:48
On 6/19/07, Keenan Pepper <keenanpepper@gmail.com> wrote: > > > > Also, it would be nice if I could really get rid of everything outside > the crop region, so that the size of the SVG file (in terms of bytes) > gets smaller. > > Keenan > Theres an option in the document properties to set page to selection. That may do what your after. Dont think theres an easy way to delete whats outside the area, if there is someone please enlighten me too :) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
on 2007-06-20 12:46
You could tediously apply a 'intersection' to each and every path using the same shape :) I was thinking it could be a feature that wouldn't be difficult to script, but if you start working with groups, clips, and masks it becomes more complicated. Each path would have to be ungrouped, intersected then regrouped. Not to mention every object/shape would need to be converted to a path. Perhaps possible, but would require a lot of recursion. john cliff-2 wrote: > > > Dont think theres an easy way to delete whats outside the area, if > there is someone please enlighten me too :) > > -- View this message in context: http://www.nabble.com/Cropping-tf3950142.html#a11210900 Sent from the Inkscape - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
on 2007-06-20 12:54
Can't you then just as well make a simple script to start with, that just slices and export to a series of a4-png? Or any custom size? Just to start with... :) ^ ^
on 2007-06-20 13:11
Maarten van der Velde wrote: > > Can't you then just as well make a simple script to start with, that > just slices and export to a series of a4-png? Or any custom size? Just > to start with... :) ^ ^ > I think Keenan wants the result to still be an SVG files, rather than a bitmap. -- View this message in context: http://www.nabble.com/Cropping-tf3950142.html#a11211169 Sent from the Inkscape - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
on 2007-06-20 16:35
On Tue, 19 Jun 2007, Dave Niezabitowski wrote: > See, this is why we need a central forum. So users can search for these > common questions. https://sourceforge.net/search/?ml_name=inkscape-u... Cheers -Terry > visible areas will be exported. >> Download DB2 Express C - the FREE version of DB2 express and take > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Inkscape-user mailing list > Inkscape-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/inkscape-user > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
on 2007-06-21 12:17
2007. 06. 20, szerda keltezéssel 04.10-kor microUgly ezt írta: > but the printing problem (previous thread) would be solved elegantly. (version pre-alpha of multipage support, what was talked a few months ago) Khiraly ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
on 2008-12-20 22:37
It is pretty easy. As was said earlier: It's pretty easy. Simply draw a square around the area you want visible. Make sure it's the VERY top layer or object. Then CTRL+A OBJECT>CLIP>SET Then, do what the others have recommended: FILE>DOCUMENT PROPERTIES> FIT PAGE TO SELECTION. The result is a cropped canvas with no additional, invisible, material. At least, it's worked for me. Maybe when you add a bunch of layers and groups it won't work any more, but I am pretty sure the CTRL+A should take care of that. I could be wrong, but I think that should work fine. Khiraly wrote: > 2007. 06. 20, szerda keltez�ssel 04.10-kor microUgly ezt �rta: >> > but the printing problem (previous thread) would be solved elegantly. > (version pre-alpha of multipage support, what was talked a few months > ago) > > Khiraly > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/
on 2009-05-04 02:00
It works just as Joshua described it--at least if you have only have one layer. If you have several layers, then CTRL+A won't select the objects in the inactive layers. You can instead just use the select tool, left-click and drag over the entire canvas. This will select all objects, no matter what layer they are on. Just make sure that the rectangle defining your crop is on the top layer. DrTebi Joshua Elek wrote: > It is pretty easy. As was said earlier: > > It's pretty easy. > Simply draw a square around the area you want visible. > Make sure it's the VERY top layer or object. > Then CTRL+A > OBJECT>CLIP>SET > > Then, do what the others have recommended: > FILE>DOCUMENT PROPERTIES> FIT PAGE TO SELECTION. > > The result is a cropped canvas with no additional, invisible, material. > > At least, it's worked for me. Maybe when you add a bunch of layers and > groups it won't work any more, but I am pretty sure the CTRL+A should > take care of that. I could be wrong, but I think that should work fine. > > Khiraly wrote: >> 2007. 06. 20, szerda keltez�ssel 04.10-kor microUgly ezt �rta: >>> >> but the printing problem (previous thread) would be solved elegantly. >> (version pre-alpha of multipage support, what was talked a few months >> ago) >> >> Khiraly >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.