Saving svg image, not svg page

Post questions on how to use or achieve an effect in Inkscape.
Zeitgeist
Posts: 2
Joined: Fri Apr 12, 2019 12:12 am

Saving svg image, not svg page

Postby Zeitgeist » Fri Apr 12, 2019 12:17 am

I have an image that I want to save as an svg file. When I save the file, it saves it as an image on a page. I want to save just the image, not a full page containing the image. How do I do it? I don't see the option to select "save image only."

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

Re: Saving svg image, not svg page

Postby brynn » Fri Apr 12, 2019 10:07 am

You can't have an image without a page - at least in Inkscape. But I can make a couple of guesses about what you want.

First, I'm thinking you might be wanting the page size to be the same as your image size. For that, File menu > Document Properties > Page tab. About halfway down, Resize page to contents, click the plus sign, then click the button "Resize page to drawing or selection".

I'm also guessing you might not want to see the page border. File menu > Document Properties > Page tab, near the bottom, uncheck Page Border setting.

Moini
Posts: 3133
Joined: Mon Oct 05, 2015 10:44 am

Re: Saving svg image, not svg page

Postby Moini » Fri Apr 12, 2019 11:47 pm

Edit > Resize page to selection is even quicker.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Zeitgeist
Posts: 2
Joined: Fri Apr 12, 2019 12:12 am

Re: Saving svg image, not svg page

Postby Zeitgeist » Sat Apr 13, 2019 9:05 am

Yes, that is part of what I wanted to do. Thank you. But still when I save the file it looks like a small image saved at the top of a large page--say 8 1/2 x 11 or maybe A4-sized stationery. I probably misunderstand the software and its intended use, and the few things I can now do with the software came with a long learning curve. I'm not accustomed to editing lines and curves. :-) And I thought once an svg file was saved that I could import the svg file into an application and size it freely without loss of resolution. Turns out, most apps can't import svg files.

I can make a screen video to show what I'm talking about--and maybe I should have--but you got the idea. I wanted an svg file in the same dimensions as the png file that I exported the image to. The concept of saving the image within the frame of a "page" was alien to me. I'm more accustomed to dabbling with Photoshop Elements and working with jpg's and png's.

Moini
Posts: 3133
Joined: Mon Oct 05, 2015 10:44 am

Re: Saving svg image, not svg page

Postby Moini » Sat Apr 13, 2019 12:18 pm

You need to select what you want to have on the page when using 'resize to selection'.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

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

Re: Saving svg image, not svg page

Postby brynn » Sun Apr 14, 2019 12:01 pm

If you use Document Properties, it resizes to the drawing, even if the drawing is not selected. But apparently the Edit menu item requires it to be selected.

User avatar
shawnhcorey
Posts: 149
Joined: Mon Jan 07, 2008 12:17 pm

Re: Saving svg image, not svg page

Postby shawnhcorey » Sun Apr 14, 2019 10:40 pm

The SVG standard has height and width parameters which Inkscape always sets. Therefore, everything it produces has a "page".

They had the same problem with PostScript, so they invented Encapsulated PostScript do deal with it.

But SVG is an XML standard and linking an external file to XML is a convoluted process.


Return to “Help with using Inkscape”

Who is online

Users browsing this forum: No registered users and 4 guests