Re: [NTG-context] \externalfigure and file size
On Thu, 2012-01-19 at 21:49 -0300, Wagner Macedo wrote:
Well, as I can see, the "problem" is inkscape switch --export-dpi which in grph-inc.lua has the value 600. I get same file size using inkscape -A --export-dpi=600.
But exporting this file (Pic.svg) without a great dpi (minimum 300) I get an ugly file, very sharpened where has filters.
But why should there be any implicit DPI specified with a vector graphic? Isn't the whole point of them to allow, theoretically, infinite resolution? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On Fri, Jan 20, 2012 at 01:51, Kip Warner wrote:
On Thu, 2012-01-19 at 21:49 -0300, Wagner Macedo wrote:
Well, as I can see, the "problem" is inkscape switch --export-dpi which in grph-inc.lua has the value 600. I get same file size using inkscape -A --export-dpi=600.
But exporting this file (Pic.svg) without a great dpi (minimum 300) I get an ugly file, very sharpened where has filters.
But why should there be any implicit DPI specified with a vector graphic? Isn't the whole point of them to allow, theoretically, infinite resolution?
Yes, but this is only true as long as your graphic can be represented reliably in the target format. And yours cannot. It is like asking for conversion of a vector image of a circle into a target format that only supports straight lines (also vector format, but without support for splines). http://www.inkscapeforum.com/viewtopic.php?f=6&t=9551 If this is your own graphic, you need to alter it in such a way that it will be representable with what PDF is capable of doing. See the chapter on smooth shading. You can do a lot with that, but it might require a bit of extra effort (and then maybe hunting developers to fix rendering bugs; Apple doesn't know how to render smooth shading properly and even used to crash). Mojca
On Fri, 2012-01-20 at 02:03 +0100, Mojca Miklavec wrote:
Yes, but this is only true as long as your graphic can be represented reliably in the target format. And yours cannot.
Hey Mojca. Yes, that makes sense now. I had assumed incorrectly that PDF implemented everything SVG does. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On Fri, Jan 20, 2012 at 2:30 AM, Kip Warner
On Fri, 2012-01-20 at 02:03 +0100, Mojca Miklavec wrote:
Yes, but this is only true as long as your graphic can be represented reliably in the target format. And yours cannot.
Hey Mojca. Yes, that makes sense now. I had assumed incorrectly that PDF implemented everything SVG does.
You can also try the reverse way with ipe http://ipe7.sourceforge.net/ and then convert the pdf in svg with inkscape or iperender -- luigi
On Fri, 2012-01-20 at 09:55 +0100, luigi scarso wrote:
You can also try the reverse way with ipe http://ipe7.sourceforge.net/ and then convert the pdf in svg with inkscape or iperender
Thanks Luigi. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On Sat, Jan 21, 2012 at 12:04 AM, Kip Warner
On Fri, 2012-01-20 at 09:55 +0100, luigi scarso wrote:
You can also try the reverse way with ipe http://ipe7.sourceforge.net/ and then convert the pdf in svg with inkscape or iperender
Thanks Luigi.
Uh uh .. I forget Metapost. Metapost can ouput svg files. -- luigi
participants (3)
-
Kip Warner
-
luigi scarso
-
Mojca Miklavec