With GroupDocs.Viewer you can render PDF to HTML, JPEG, PNG or PDF in a few steps.
- Add GroupDocs.Viewer for Java as a dependency to your project.
- Create an instance of Viewer class and load the PDF file with full path.
- Set options to render PDF file into HTML, PNG, JPEG or PDF format.
- Render file and check output in the current directory.