Save as .pdf at 300dpi

Post questions on how to use or achieve an effect in Inkscape.
User avatar
capnhud
Posts: 435
Joined: Mon Jun 04, 2007 8:30 pm
Location: U.S.A

Save as .pdf at 300dpi

Postby capnhud » Sun Apr 13, 2008 4:10 am

How do I make it so that when I save as .pdf it is a 300dpi .pdf?

Simarilius
Posts: 626
Joined: Wed Jun 06, 2007 2:37 am

Re: Save as .pdf at 300dpi

Postby Simarilius » Sun Apr 13, 2008 6:19 am

Do you have anything thats non vector? cos if not then its vector, so doesnt have resolution...

rajub

Re: Save as .pdf at 300dpi

Postby rajub » Sun Apr 13, 2008 3:58 pm

Hi,

Sorry, I am inturrupting, but it is not off topic.

When we save in PDF format the resolution does matter because PDF is not vector format.

Please correct me if I am wrong.

Thanks

rajub

User avatar
capnhud
Posts: 435
Joined: Mon Jun 04, 2007 8:30 pm
Location: U.S.A

Re: Save as .pdf at 300dpi

Postby capnhud » Sun Apr 13, 2008 9:21 pm

Do you have anything thats non vector?


It is all vector. I know that I could transfer it all into scribus then save as .pdf @300dpi, but I figured if I have the ability to save as .pdf in Inkscape I should also have the ability to determine the dpi of the .pdf. But I am going to assume that this is not currently possible in inkscape.

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Save as .pdf at 300dpi

Postby microUgly » Mon Apr 14, 2008 10:18 am

rajub wrote:When we save in PDF format the resolution does matter because PDF is not vector format.

PDF's support both vector and non-vector information. When saving as PDF from Inkscape the resulting PDF is vector. Illustrator will allow you to specify the resulotion for the PDF because it rasterizes effects that can't be represented as vector in PDFs.
capnhud wrote:But I am going to assume that this is not currently possible in inkscape.

It's not possible probably because it's not necessary. Because it is pure-vector you can specify the resolution when you print it.

Are you experiencing problems because you can't specify the DPI?

fejack
Posts: 11
Joined: Thu Apr 10, 2008 6:45 pm
Location: Neuchâtel, Switzerland
Contact:

Bezier curves

Postby fejack » Mon Apr 14, 2008 9:12 pm

If all of your objects are vectorial (defined by Bezier curves), the DPI are irrelevant: the curves are mathematically defined, so you can print it on a postal stamp or an airplane, it will be flawless.

Otherwise, if you happen to have imported raster images (composed of pixels), you should go to

File > Inkscape Preferences

Then go to the last option in the left column of the popup menu.
There, you should be able to set the default export resolution.
When Inkscape was installed, it should have been preset to 600 dpi.

User avatar
capnhud
Posts: 435
Joined: Mon Jun 04, 2007 8:30 pm
Location: U.S.A

Re: Save as .pdf at 300dpi

Postby capnhud » Mon Apr 14, 2008 9:20 pm

Ok I figured since in Scribus you would save .eps images @300dpi you would need to do that same when saving as .pdf in inkscape. See figure below which corresponds to pdf export in Scribus


Image

rajub

Re: Save as .pdf at 300dpi

Postby rajub » Mon Apr 14, 2008 10:12 pm

Thanks microUgly,

I got new and relevent information

rajub

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Save as .pdf at 300dpi

Postby microUgly » Tue Apr 15, 2008 9:58 am

capnhud wrote:Ok I figured since in Scribus you would save .eps images @300dpi you would need to do that same when saving as .pdf in inkscape.

I'm guessing that because EPS files can be embedded into PDF's (without file format conversion), it's print resolution can be different to the overall documents resolution (i.e you could specify the PDF to print at 150 dpi but the embedded EPS will come out at 300 dpi).

I should say, whilst you more than likely can specify the resolution for a PDF that contains only vector information, it's only meta data and shouldn't impact the quality of the file (same with the EPS example above). It's only when the file contains raster information will it impact the quality.

User avatar
capnhud
Posts: 435
Joined: Mon Jun 04, 2007 8:30 pm
Location: U.S.A

Re: Save as .pdf at 300dpi

Postby capnhud » Tue Apr 15, 2008 8:20 pm

Ok guys thanks for the clarification. I mean I can zoom in on the .pdf and still see the vector objects as being crisp I just was not sure for printing purposes if this was a necessity.

reader4
Posts: 1
Joined: Wed Jul 09, 2008 3:01 am

Re: Save as .pdf at 300dpi

Postby reader4 » Wed Jul 09, 2008 3:06 am

Not sure if this post was answered sufficiently, and I have a similar problem. Specifically, I am trying to save my SVG as a PDF with the linked/imported raster graphics at either 100dpi or 300dpi (max). The export resolution seems only to work for bitmap exports, not saving as a PDF (correct me if I am wrong, but PDFs saves with 100dpi and 600dpi settings were identical in size). It is possible to specify this for a PS save, then convert the PS to PDF, but it would be nice to have a choice for PDFs.

If this is not possible, I will file a bug to request it.

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Save as .pdf at 300dpi

Postby microUgly » Wed Jul 09, 2008 7:34 am

I haven't seen the option, so you might like to log a request.

Having said that, I don't see that the option is required unless it's rasterising some vector elements.

cressman

Re: Save as .pdf at 300dpi

Postby cressman » Thu Oct 14, 2010 6:38 am

I noticed that this is still not adequately answered. Sometimes one needs to specify the DPI so that things work well when you print them. I could not figure out how to do it through the GUI, but there is a command line way to do this with inkscape:

"c:\program files\inkscape\inkscape.exe" --without-gui --export-dpi=1600 --export-pdf="output.pdf" inputfile.svg

bigwolfmagic
Posts: 1
Joined: Sat Feb 25, 2012 8:23 am

Re: Save as .pdf at 300dpi

Postby bigwolfmagic » Sat Feb 25, 2012 8:34 am

i'm cutting a pdf and eps so my question applied to a 300dpi for any file format. these two phrases from above make sense:

1. It's not possible probably because it's not necessary. Because it is pure-vector you can specify the resolution when you print it.
2. If all of your objects are vectorial (defined by Bezier curves), the DPI are irrelevant: the curves are mathematically defined, so you can print it on a postal stamp or an airplane, it will be flawless.

i found the setting to change in inkscape 48.2:
File > Inkscape Preferences > Import/Export

ChrisLo
Posts: 14
Joined: Fri Feb 10, 2012 8:11 am

PDF-Export setting paper-size dpi in mm cm inches

Postby ChrisLo » Fri May 04, 2012 8:17 am

EDIT: to better understand Inkscape and DPI see also
Save as PDF with Filters and Blurrs, Inkscape FAQ (DPI in the Export Bitmap dialog), Why do images 'grow' when imported into Inkscape?, PDF, PostScript, and EPS export
BTW: There seems to be much confusion about DPI and size in Inkscape Exports. The PDF exporter in Inkscape should be Cairo-based (like PS and EPS exporter)

cressman wrote:"c:\program files\inkscape\inkscape.exe" --without-gui --export-dpi=1600 --export-pdf="output.pdf" inputfile.svg
Thanks for that hint. Sadly not really usable when working on dozens of files for a scientific publication.

For good workflow between screen size (px rendering and presentation) and DTP-Software (exact printing, font size) I think the PDF-Export needs a setting for the paper-size or scale (dpi/in/mm/cm/etc.).

Example: I like to use a SVG with 130 mm width in the exported PDF and on the screen (in Inkscape) with 800 px width (also PNG-Export).
As I understand it, this is not possible over the Inkscape-GUI (hardcoded 90 dpi)?
I can set up a document with 460,63 px width, to later receive a PDF with 130 mm, or I work with 800 px in Inkscape and later receive a PDF with 225,78 mm. Scaling the document proportionally would be a solution, but this is not doable easily and in one step by Document Properties.

Is there a workarround without using command line (inside Inkscape GUI) or maybe a GUI-tool that can quickly convert Inkscape SVG's to PDF's with a DPI/size setting?


Return to “Help with using Inkscape”