SVG is also a vector graphics file format but I've never been requested for resolution choice when using Matlab or Inkscape. EPS however has these options. Why? If both are vector graphics formats, neither should need it, correct?

Edit: Here is the request from inkscape for saving .eps files under resolution for rasterization (dpi)

enter image description here

But I don't want to rasterize my image. I want it to stay as a vector graphic.

Similarly as I mentioned in the comments, I can save .eps files in matlab using print -depsc2 -r300 filename where -r300 is the dpi resolution. Why do I need this argument?

Thank you.

  • Are you referring to specifying the ppi?
    – JohnB
    Commented Nov 4, 2014 at 16:44
  • Maybe? In matlab I can save .eps files via print -depsc2 -r300 filename where -r300 is the resolution in dpi, according the function's help menu. Let me add a screenshot of the request from inkscape.
    – user27886
    Commented Nov 4, 2014 at 16:53
  • 1
    The "Resolution for rasterization" is to set the resolution of filter effects that cannot be exported as vector. Perhaps a better question is why SVG doesn't have the option (I don't know the answer, though!)
    – JohnB
    Commented Nov 4, 2014 at 17:07
  • So if I don't plan to filter my graphics in Inkscape or any other program, and directly import it in to a latex document, then the resolution choice makes no difference?
    – user27886
    Commented Nov 4, 2014 at 17:10
  • Presumably, but I'm just guessing. There are others on this site that know much more about Inkscape and SVG than me, hopefully they can chime in with a factual answer
    – JohnB
    Commented Nov 4, 2014 at 17:12

2 Answers 2


The key word here is rasterization.

EPS is customarily a flat file format. Flat File meaning objects are either 100% opaque or 100% transparent -- there's no in between. This means if you use raster effects such as soft shadows, feathering, glows, etc. the only way to maintain that appearance is via raster images.

All printers only print raster data. When you print vector art it has to pass through a Raster Image Processor (RIP). When the RIP sees art with the shadows and glows, it queries the print driver and asks for the resolution of the printer then the RIP rasterizes these effects at that resolution.

If you are not printing and only saving vector art with these shadows and glows, the application needs to know at what resolution you want rasterization to occur. It can't guess because it's a dumb machine which only does what its told. Most vector applications do the rasterization "on-the-fly" when saving to a flat file format such as EPS. So the app is giving you the opportunity to tell it what you want rather than just defaulting to some predetermined setting.

This is why you are asked for a resolution when saving to EPS.

Make no mistake, if you are using soft-edges effects like glows and shadows you are generating raster elements when saving to the EPS format. Any time anything needs to be "flattened" there is the possibility of introducing embedded raster images into a flat file format. So, transparency settings, gradients, blending modes, shadows, glows, etc may all utilize the resolution setting.

If you are not using such soft-edge objects, then the resolution is just there for times when it is needed. It will have no effect on actual hard-edged vector art without glows and shadows, etc. when saving. Vector data is saved as vector data, it's only when you've introduced the objects which need flattening that the resolution option is needed.


There are a few reasons, @Scott covers most of them. Theres another reason too. It typically has its own setting somewhere hidden from most users. Its is also typically a DPI value.

When, the eps is drawn by the RIP it does not draw curves instead each curve is converted to straight segments. Usually the default is ok, but sometimes its not so there needs to be a way to control the needed segment size. This setting customarily is also a dpi setting.

  • Flatness is another matter entirely :)
    – Scott
    Commented Nov 5, 2014 at 1:27
  • @scott yes but resolution nonetheless, not whats in the screenshot but answers why a vector format would have resolution settings. Easy to forget as you almost never set it.
    – joojaa
    Commented Nov 5, 2014 at 5:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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