On 2007-May-20 , at 08:35 , Gian Paolo Mureddu wrote:
Kat Tanaka Okopnik escribió:
I notice that while Inkscape offers a "save to .pdf" option, there's no way to specify dpi. I'd like to be able to have 300dpi .pdf images.
What workarounds are available?
Only one I've been able to do is to first export to .png and then insert that into an OpenOffice.org's Impress document, export from the file menu to PDF and be able to change there the image's DPI and compression method.
If I understand you well this means that you export the whole Inkscape document to PNG and then transform it to PDF with OpenOffice Impress (you could do the same with the Gimp or ImageMagick's convert actually). If this is what you do, you could keep it in PNG instead of turning it to a PDF, it won't change a thing. PDF is a vector based format and PNG is a raster format: http://en.wikipedia.org/wiki/Vector_Graphics http://en.wikipedia.org/wiki/Raster_Graphics The advantage of exporting to PDF from Inkscape's SVG (which is also a vector format) is that you keep the vector information (i.e. when you zoom in, the lines stay sharp). If you export the SVG to a raster format (PNG here), no matter in which format you convert the PNG afterwards, you won't get the vector information back, you will still end up with just a bunch of pixels. In fact, the raster/vector difference is complicated by the fact that you can include some raster images in a vector based format. For example you can include some raster images in an Inkscape document. And what you do in your PDF conversion is exactly that also: you just include a raster image (a bunch of pixels) in a vector document (the PDF), but that does not turn it into vector in any way. I hope this helps. Maybe the FAQ in Inkscape's wiki need to be expanded a bit about this: http://wiki.inkscape.org/wiki/index.php/FAQ#What_is_vector_graphics.3F
Cheers,
JiHO --- http://jo.irisson.free.fr/