how to convert pdf to image in android ? using pdfbox getting error to import java.awt and javax
<p>how to convert pdf to image in android ? using pdfbox getting error to <code>import java.awt</code> and <code>javax</code></p>

<pre><code>imageType = BufferedImage.TYPE_INT_ARGB; //need to specifies java.awt
String[] formats = ImageIO.getReaderFormatNames(); //need to specifies javax
</code></pre>
