title: Java - From SVG to PNG programmatically
body: <p>I'm creating a game with LibGDX library (from badlogicgames) and I ran into some doubts about my sprites.</p>
  
  <p>In order to support different screen sizes, we usually create like 4 maybe 6 images with different sizes. I was wondering if using a vector image like.SVG files may be useful. </p>
  
  <p>Would it be smart to get programmatically an SVG file, get screen dimensions and then create an appropriate PNG file taking the screen size into account? </p>
  
  <p>If the only problem is performance, is the difference too significantly? Maybe creating all the PNG images at the beginning of the app would take 3 or 4 seconds but it would be better for forward graphics.</p>
  
  <p>I've heard about <strong>batik</strong> for achieving this, has anybody tried this? </p>
  
  <p>Has anybody a bit of experience with this stuff and can help me? </p>