title: EPS to SVG Conversion for PDF output
body: <p>I have all eps files as input and these eps files are present in my xml file.</p>
  
  <pre><code>&lt;?xml&gt;
  &lt;FIGURE&gt;
      &lt;L-GRAPHIC L="DE"&gt;
          &lt;GRAPHIC FILENAME="abc.eps"&gt;
          &lt;/GRAPHIC&gt;
      &lt;/L-GRAPHIC&gt;
  &lt;/FIGURE&gt;
  &lt;/xml&gt;
  </code></pre>
  
  <p><strong>Java code usign ImageMagick</strong></p>
  
  <pre><code>public static void main(String[] args) {
      String inputfileName = "C:\\abc.eps"; 
  
      try {
          System.out.println("Started" + inputfileName);
          ImageInfo info = new ImageInfo(inputfileName);
  
          MagickImage magick_converter = new MagickImage(info);
  
          String outputfile = "C:\\abc.svg"; // Output File name
          magick_converter.setFileName(outputfile);
  
          magick_converter.writeImage(info);
          System.out.println("Complete");
  
      } catch (MagickException e1) {          
          e1.printStackTrace();
      } 
  }
  </code></pre>
  
  <p><strong>Current output with above code:</strong></p>
  
  <pre><code>Started
  </code></pre>
  
  <p>Nothing happens after that.</p>
  
  <p>Please help.</p>