title: How to convert pdf to png in Android?
body: <p>A little problem i'm having right now with my  app.
  I've found solutions in Java, using Ghost4J... But it uses java.awt.Image, that I can't import in Android. I java, I have something like that :</p>
  
  <pre><code>PDFDocument document = new PDFDocument();
                  document.load(file);
  
                  SimpleRenderer renderer = new SimpleRenderer();
                  renderer.setResolution();
  
                  List&lt;Image&gt; images = renderer.render(document);
                  for (int i = 0; i &lt; images.size(); i++) {
                      ImageIO.write((RenderedImage) images.get(i), "png", new File((i + 1) + ".png"));
                  }
  </code></pre>
  
  <p>So, my problem is that I have a picture in pdf format, and I need to convert it in png, cause I use a printer that can't handle pdf...</p>
  
  <p>Hope you guys, will find a way...
  Thanks a lot, and sorry for my english!</p>