Convert .svg to .jpg using matlab

21 views (last 30 days)
Jon
Jon on 11 Oct 2011
Commented: Jan on 8 Oct 2013
Dear People, First of all I want to thank the help provided in my previous doubts. Now I am facing a problem related with .svg extensions. In particular, I generate several figures in .svg via matlab and I want to save them as a .jpg in order to merge them in a video. Therefore my question is, can I create a jpg from an .svg using matlab? Thanks in advance!

Accepted Answer

Jan
Jan on 11 Oct 2011
MATLAB cannot import SVGs directly. There is a java implementation, which can be called from MATLAB, but there are easier and more direct solutions: inkscape and OpenOffice are better for such jobs.
[EDITED, 13-Oct-2011 10:24 UTC]: You can ask Google about programs for a batch conversion: http://www.google.de/search?q=batch+convert+svg+to+jpg
But I assume, exporting JPGs directly would be even easier.
  5 Comments
Robert
Robert on 8 Oct 2013
Hi Jan,
I would be interested to learn more about the Java implementation that you mention. Could you provide some more details?
Thanks, Rob

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!