I have a Scalable Vector Graphic (svg) which I can convert to pdf with inkscape. The pdf still looks fine when viewed in okular or evince. However, I require an eps file. I understand that eps may contain vector data, but all I get is pixelated mess with a bounding box that is too small. Initially I tried the inkscape export feature to generate eps files. I also tried to transform the well looking pdf with pdf2ps + ps2eps, but I get the same disgusting results.

What am I doing wrong? How is this supposed to be done?

  • Are you saying that inkscape -E also rasterizes its output? Looking at the manpage it is probably due to ps lacking support for transparency. – Stéphane Gimenez Sep 4 '12 at 11:59
  • EPS does not support all features from PDF/SVG, PS even supports less. – scai Sep 4 '12 at 12:08
  • @StéphaneGimenez: I also tried --export-ignore-filters, which appears to be ignored. Is there any way around it? – bitmask Sep 4 '12 at 12:10
  • Filters and transparency are not the same thing I guess. – Stéphane Gimenez Sep 4 '12 at 12:12
  • neither pdf nor eps can handle grandients and eps does not support transparancy, IIRC. You will have to simplify your image so that all features can be represented using eps. Otherwise inkscape will always raster your image. What else is it supposed to do? After all that's the same routine used when printing ... – Bananguin Sep 4 '12 at 13:01

This is the pseudo solution I used, now. My editor didn't seem to care whether to receive eps or tiff files, so I rendered all svgs with the target resolution and size, as it was impossible to get a decent result with eps files (as noted in the comments this is due to technical limitations of the eps format).

This can be done by opening the svg directly in gimp. It's a bit tedious to do this for several files manually, so a scripted solution would have been favourable, but well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.